First configuration for kubernetes learning or prototype
This commit is contained in:
parent
5e0008b02f
commit
25b17550ea
6 changed files with 145 additions and 0 deletions
12
nginx/service.yaml
Normal file
12
nginx/service.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nginx-service
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: nginx
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8000
|
||||
targetPort: 80
|
Loading…
Add table
Add a link
Reference in a new issue