diff options
-rw-r--r-- | yaml/deployments/cas.yaml | 8 | ||||
-rw-r--r-- | yaml/services/cas.yaml | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/yaml/deployments/cas.yaml b/yaml/deployments/cas.yaml index f7814ad..86dc11a 100644 --- a/yaml/deployments/cas.yaml +++ b/yaml/deployments/cas.yaml @@ -2,15 +2,17 @@ apiVersion: apps/v1 kind: Deployment metadata: name: cas-deployment + labels: + app: cas-app spec: - replicas: 1 + replicas: 2 selector: matchLabels: - app: cas + app: cas-app template: metadata: labels: - app: cas + app: cas-app spec: containers: - name: cas diff --git a/yaml/services/cas.yaml b/yaml/services/cas.yaml index bd30fe9..0942e33 100644 --- a/yaml/services/cas.yaml +++ b/yaml/services/cas.yaml @@ -4,10 +4,8 @@ metadata: name: cas-service spec: ports: - - port: 8000 + - port: 80 targetPort: 8000 - name: http - protocol: TCP selector: - app: cas + app: cas-app type: LoadBalancer |