diff --git a/deployment.yaml b/deployment.yaml index 5fc3833..ed2398a 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: name: sample-app spec: - replicas: 1 + replicas: 3 revisionHistoryLimit: 3 selector: matchLabels: diff --git a/service.yaml b/service.yaml index 830af2e..b3319e1 100644 --- a/service.yaml +++ b/service.yaml @@ -6,5 +6,6 @@ spec: ports: - port: 80 targetPort: 8080 + nodePort: 30080 selector: app: sample-app