Add k8s manifest: service-nginx.yaml
This commit is contained in:
12
k8s/ironclad/service-nginx.yaml
Normal file
12
k8s/ironclad/service-nginx.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: nginx
|
||||||
|
spec:
|
||||||
|
type: NodePort
|
||||||
|
selector:
|
||||||
|
app: nginx
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 80
|
||||||
|
nodePort: 30297
|
||||||
Reference in New Issue
Block a user