parent
06ca216264
commit
278038a38b
@ -1,12 +0,0 @@
|
||||
apiVersion: apps.mashibing.com/v1
|
||||
kind: MsbDeployment
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: msbdeployment
|
||||
app.kubernetes.io/instance: msbdeployment-sample
|
||||
app.kubernetes.io/part-of: mashibing-deployment
|
||||
app.kuberentes.io/managed-by: kustomize
|
||||
app.kubernetes.io/created-by: mashibing-deployment
|
||||
name: msbdeployment-sample
|
||||
spec:
|
||||
# TODO(user): Add fields here
|
@ -0,0 +1,11 @@
|
||||
apiVersion: apps.mashibing.com/v1
|
||||
kind: MsbDeployment
|
||||
metadata:
|
||||
name: msbdeployment-ingress
|
||||
spec:
|
||||
image: nginx
|
||||
port: 80
|
||||
replicas: 2
|
||||
expose:
|
||||
mode: ingress
|
||||
ingressDomain: www.mashingbing-test.com
|
@ -0,0 +1,11 @@
|
||||
apiVersion: apps.mashibing.com/v1
|
||||
kind: MsbDeployment
|
||||
metadata:
|
||||
name: msbdeployment-ingress
|
||||
spec:
|
||||
image: nginx
|
||||
port: 80
|
||||
replicas: 2
|
||||
expose:
|
||||
mode: nodeport
|
||||
nodePort: 30000
|
@ -0,0 +1,11 @@
|
||||
apiVersion: apps.mashibing.com/v1
|
||||
kind: MsbDeployment
|
||||
metadata:
|
||||
name: msbdeployment-nodeport
|
||||
spec:
|
||||
image: nginx
|
||||
port: 80
|
||||
replicas: 2
|
||||
expose:
|
||||
mode: nodeport
|
||||
nodePort: 30000
|
@ -0,0 +1,11 @@
|
||||
apiVersion: apps.mashibing.com/v1
|
||||
kind: MsbDeployment
|
||||
metadata:
|
||||
name: msbdeployment-nodeport
|
||||
spec:
|
||||
image: nginx
|
||||
port: 80
|
||||
replicas: 2
|
||||
expose:
|
||||
mode: ingress
|
||||
ingressDomain: www.mashingbing-test.com
|
Loading…
Reference in new issue