Created
May 10, 2023 18:56
-
-
Save bersling/23bb4271f082433e23174429c0b07f48 to your computer and use it in GitHub Desktop.
k8s build example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kubectl config use-context example/tb:prod | |
| kubectl apply -f ./k8s/namespaces/exampleproject.yaml | |
| kubectl config set-context --current --namespace=exampleproject | |
| helm upgrade --install exampleproject-ingress ./k8s/helm/xxx --values=exampleproject/k8s/prod/exampleproject-ingress.values.yaml | |
| helm upgrade --install exampleproject ./k8s/helm/tb-deployment --values=exampleproject/k8s/prod/exampleproject-deployment.values.yaml --set image.repositoryWithTag="$EXAMPLEPROJECT_IMAGE" | |
| kubectl rollout status deployment/exampleproject |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment