目录
Docker
1. 创建一个Blazor Server项目(20s)
2. Dockerfile和.sln不在同一级目录, 修改Dockerfile文件(20s)
3. Build image 并 Push to repository (20s)
Helm Template
1. Helm Create 生成YAML模板 (5s)
2. Create docker-registry secret (10s)
3. 修改values.yaml,填写image和imagePullSecrets(20s)
4. 修改Chart.yaml 版本号(10s)
5. Helm Install(10s)
6. Port Forward 查看blazor页面 (20s)
7. 查看helm release
环境准备
- k8s Cluster
- helm
- docker
Docker
1. 创建一个Blazor Server项目(20s)
2. Dockerfile和.sln不在同一级目录, 修改Dockerfile文件(20s)
3. Build image 并 Push to repository (20s)
Helm Template
1. Helm Create 生成YAML模板 (5s)
2. Create docker-registry secret (10s)
kubectl create secret docker-registry phone8848-auth --namespace=test --docker-username=xxx --docker-password=xxx --docker-server=docker.io
3. 修改values.yaml,填写image和imagePullSecrets(20s)
4. 修改Chart.yaml 版本号(10s)
5. Helm Install(10s)
6. Port Forward(20s) 查看blazor页面
7. 查看helm release