Deployment of kuard demo successful in large parts.

This commit is contained in:
Moritz Graf
2020-04-05 12:34:48 +02:00
parent a420e03ef3
commit 35f63edb42
6 changed files with 76 additions and 8 deletions
+27
View File
@@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: nginx
name: nginx
namespace: blub
spec:
replicas: 1
selector:
matchLabels:
app: nginx
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: nginx
spec:
containers:
- image: nginx
name: nginx
resources: {}
ports:
- containerPort: 80
status: {}
+16
View File
@@ -0,0 +1,16 @@
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: nginx
namespace: blub
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: blub.haumdaucher.de
http:
paths:
- path: /
backend:
serviceName: nginx
servicePort: 80
+20
View File
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: "2020-04-05T08:37:56Z"
labels:
app: nginx
name: nginx
namespace: blub
spec:
clusterIP: 10.233.34.90
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
app: nginx
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}