devstar-devcontainer-operator/step1-deploy-operator.sh
2024-09-30 10:11:40 +00:00

15 lines
620 B
Bash
Raw 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
## 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-15c626593b1d94944ed6515b0ed6c32c939c6efc
# 部署效果:
# 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