-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating docs and scripts to use kustomize overlay by default #574
Conversation
7a62890
to
792b4bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need to also rename all the "base" directories, to "overlay"?
792b4bf
to
9a9765c
Compare
I don't think we need to rename the base directories, in ├── service-name
│ ├── base -> /opt/genestack/base-kustomize/service-name/base (symlink)
│ ├── aio -> /opt/genestack/base-kustomize/service-name/aio (symlink)
│ └── overlay
│ └── kustomization.yaml
│ └── service-patches.yaml Also,vI've reviewed nearly all instances of |
Currently there's no overlay directory in any of our kustomize folders, and nothing here looks to be creating it. ├── keystone
│ ├── base (directory)
│ ├── aio (directory) |
@cloudnull Yeah, we didn't make any changes on /opt/genestack structure because we wanted to keep all the environment specific patches under /etc/genestack (which is a symlink to flex-host-baseline/env-name), so we used bootstrap.sh to create that structure for us under |
fair enough, I was looking at this from the lens of bases being deprecated in kustomize in favor of resources. https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/#bases-and-overlays - but this makes more sense now. So +1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The structure of service deployment changed in a way that we can deploy all the services using overlay wether there is a change/patch in overlay or not to keep an standard of deployment across all the services.
Related PRs:
#564 (creating kustomize base and overlay structure)
https://github.com/rackerlabs/flex-host-baseline/pull/31/files (includes patches needed for the services in some envs)