2024-09-30 10:11:40 +00:00
|
|
|
|
#!/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.
|
2024-10-14 08:25:16 +00:00
|
|
|
|
make deploy IMG=devstar.cn/devstar/devcontainer-operator:build-f42c51cbef59584977e74f4fa100e350b8ca3c9d
|
2024-09-30 10:11:40 +00:00
|
|
|
|
|
|
|
|
|
# 部署效果:
|
|
|
|
|
# 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
|