cm-and-secret
This commit is contained in:
15
kubernetes/templates/cm-and-secrets/nginx-http-svc.yml
Normal file
15
kubernetes/templates/cm-and-secrets/nginx-http-svc.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nginx-http-svc
|
||||
labels:
|
||||
app: nginx-http
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- port: 30080
|
||||
targetPort: 80
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
app: nginx-http
|
||||
Reference in New Issue
Block a user