diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index 55f4b48..d4b6399 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -31,8 +31,10 @@ spec: cpu: 50m memory: 100Mi ports: - - containerPort: 3000 - - containerPort: 2222 + - name: ssh + containerPort: 2222 + - name: http + containerPort: 3000 volumeMounts: - name: credentials readOnly: true diff --git a/manifests/service.yaml b/manifests/service.yaml index 318db1c..8ed688d 100644 --- a/manifests/service.yaml +++ b/manifests/service.yaml @@ -6,6 +6,7 @@ spec: ports: - name: http port: 3000 + targetPort: http selector: app: siranga --- @@ -20,6 +21,6 @@ spec: ports: - name: ssh port: 22 - targetPort: 2222 + targetPort: ssh selector: app: siranga