Skip to content

Create new and improved seed and test overlays - #1182

Merged
sleepycat merged 1 commit into
masterfrom
reseed
Nov 13, 2020
Merged

Create new and improved seed and test overlays#1182
sleepycat merged 1 commit into
masterfrom
reseed

Conversation

@sleepycat

Copy link
Copy Markdown
Contributor

For sidecar injection to happen Istio needs to be running before our app is. To make this happen, this commit splits the config into a seed config that creates namespaces, secrets and installs Istio, and then an normal overlay that installs the app.

Also included here is an overlay called test, that is very close to prod, but uses a self signed cert.

The process to bring up a cluster (using test as an example) is now the following:

kustomize build overlays/seed/test | kubectl apply -f -
watch kubectl get po -A
kustomize build overlays/test | kubectl apply -f -
watch kubectl get po -A
kubectl get svc -n istio-system istio-ingressgateway -o json | jq '.status.loadBalancer.ingress'

For sidecar injection to happen Istio needs to be running before our app is. To make this happen, this commit splits the config into a seed config that creates namespaces, secrets and installs Istio, and then an normal overlay that installs the app.

Also included here is an overlay called test, that is very close to prod, but uses a self signed cert.

The process to bring up a cluster (using test as an example) is now the following:

```sh
kustomize build overlays/seed/test | kubectl apply -f -
watch kubectl get po -A
kustomize build overlays/test | kubectl apply -f -
watch kubectl get po -A
kubectl get svc -n istio-system istio-ingressgateway -o json | jq '.status.loadBalancer.ingress'
```
@sleepycat
sleepycat merged commit 79d24bc into master Nov 13, 2020
@sleepycat
sleepycat deleted the reseed branch November 13, 2020 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant