loadbalancer test 1

This commit is contained in:
2020-02-24 11:09:42 +01:00
parent 48818c64c8
commit d7bfecbe5e
2 changed files with 8 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ apiVersion: v1
metadata: metadata:
name: expose-server name: expose-server
spec: spec:
type: NodePort type: LoadBalancer
selector: selector:
expose: "true" expose: "true"
ports: ports:
@@ -51,5 +51,4 @@ spec:
protocol: TCP protocol: TCP
targetPort: 5000 targetPort: 5000
port: 5000 port: 5000
nodePort: 30036

View File

@@ -0,0 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: webhook-secret
stringData:
token: ff852500b2f227e12bd285ca1a238a48b494a7d2
secret: random-string-data