diff --git a/k8s/deploy.yml b/k8s/deploy.yml index a085587..aa4f996 100644 --- a/k8s/deploy.yml +++ b/k8s/deploy.yml @@ -3,7 +3,7 @@ kind: Deployment metadata: name: my-web-app-deployment spec: - replicas: 2 + replicas: REPLICAS selector: matchLabels: app: my-web-app @@ -14,7 +14,7 @@ spec: spec: containers: - name: my-web-app - image: core.harbor.cn:30210/my-web-app:latest + image: HARBOR_HOST/NAMESPACE_NAME/REPOSITORY_NAME:TAG ports: - - containerPort: 8080 + - containerPort: 80