Skip to content

Instantly share code, notes, and snippets.

@bersling
Created May 10, 2023 18:56
Show Gist options
  • Select an option

  • Save bersling/23bb4271f082433e23174429c0b07f48 to your computer and use it in GitHub Desktop.

Select an option

Save bersling/23bb4271f082433e23174429c0b07f48 to your computer and use it in GitHub Desktop.
k8s build example
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