devstar-devcontainer-operator/step1-deploy-operator.sh
Mingchen Dai 7f7e0ac0cb
All checks were successful
DevStar DevContainer Operator CI Pipeline - main branch / build-and-push-devstar-devcontainer-operator (push) Successful in 11s
fix zombie processes
2024-10-28 02:45:00 +00:00

18 lines
644 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
# 首先将 CRLF 统一替换为 LF sed -i 's/\r$//' *.sh
# 0. git pull
git pull
## 1. Install CRDs into the K8s cluster specified in ~/.kube/config.
make install
## 2. Deploy controller to the K8s cluster specified in ~/.kube/config.
make deploy IMG=devstar.cn/devstar/devcontainer-operator:build-f42c51cbef59584977e74f4fa100e350b8ca3c9d
# 部署效果:
# kubectl get deployment -n devcontainer-operator-system devcontainer-operator-controller-manager
# NAME READY UP-TO-DATE AVAILABLE AGE
# devcontainer-operator-controller-manager 1/1 1 1 50m