diff --git a/v3-calico/nginx-test-deployment.yaml b/v3-calico/nginx-test-deployment.yaml index af12278..f93243e 100644 --- a/v3-calico/nginx-test-deployment.yaml +++ b/v3-calico/nginx-test-deployment.yaml @@ -17,3 +17,14 @@ spec: image: nginx:1.20.0-alpine ports: - containerPort: 80 +--- +apiVersion: v1 +kind: Service +metadata: + name: nginx-service +spec: + selector: + app: nginx + ports: + - protocol: TCP + port: 80