You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.0 KiB
YAML
88 lines
2.0 KiB
YAML
apiVersion: v1
|
|
kind: List
|
|
items:
|
|
- apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/revision: "1"
|
|
generation: 3
|
|
name: nginx
|
|
namespace: rene-jochums-at
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 1
|
|
maxUnavailable: 0
|
|
type: RollingUpdate
|
|
selector:
|
|
matchLabels:
|
|
container: nginx
|
|
template:
|
|
metadata:
|
|
labels:
|
|
container: nginx
|
|
spec:
|
|
containers:
|
|
- image: registry.dev.wmk8s.com/pcdummy/renejochumsat:latest
|
|
imagePullPolicy: Always
|
|
name: nginx
|
|
resources: {}
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities: {}
|
|
privileged: false
|
|
procMount: Default
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
stdin: true
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
tty: true
|
|
dnsPolicy: ClusterFirst
|
|
imagePullSecrets:
|
|
- name: rancherdev
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
|
|
- kind: Service
|
|
apiVersion: v1
|
|
metadata:
|
|
name: nginx
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
workloadID_nginx: "true"
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: 80
|
|
|
|
- kind: Ingress
|
|
apiVersion: extensions/v1beta1
|
|
metadata:
|
|
annotations:
|
|
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
|
|
kubernetes.io/tls-acme: "true"
|
|
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
|
generation: 2
|
|
name: website
|
|
namespace: rene-jochums-at
|
|
spec:
|
|
rules:
|
|
- host: rene.jochums.at
|
|
http:
|
|
paths:
|
|
- backend:
|
|
serviceName: nginx
|
|
servicePort: 80
|
|
path: /
|
|
tls:
|
|
- hosts:
|
|
- rene.jochums.at
|
|
secretName: website-prod-tls |