Sha256: 8c21c22e6adc9c795fafe5441926d6b349a0127b24b65872338b73c9c3e176a6
Contents?: true
Size: 1.19 KB
Versions: 58
Compression:
Stored size: 1.19 KB
Contents
--- title: Shared --- The `shared` folder purpose is to provide a place for Kubernetes resources that are shared between roles. ## Example Structure Here's an example structure to help explain how shared resources work. .kubes/resources ├── clock │ └── deployment.rb ├── shared │ └── secret.rb └── web ├── deployment.rb └── service.rb ## Deploy When you deploy with Kubes, it will run `kubectl apply` on the shared resources first and then your [role-based resources]({% link _docs/resources/role.md %}) like clock and web. Example: $ kubes apply Deploying kubes resources => kubectl apply -f .kubes/output/shared/secret.yaml secret/demo-secret created => kubectl apply -f .kubes/output/clock/deployment.yaml deployment.apps/demo-clock created => kubectl apply -f .kubes/output/web/service.yaml service/demo-web created => kubectl apply -f .kubes/output/web/deployment.yaml deployment.apps/demo-web created $ Kubes will order the creation of shared resources first. You can override the default ordering with an [Order config]({% link _docs/intro/ordering/custom.md %}).
Version data entries
58 entries across 58 versions & 1 rubygems