GG
Size: a a a
GG
GG
D
GG
GG
---
apiVersion: v1
kind: Namespace
metadata:
name: whoami
labels:
app.kubernetes.io/name: whoami
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/name: whoami
name: whoami
namespace: whoami
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: whoami
template:
metadata:
labels:
app.kubernetes.io/name: whoami
spec:
containers:
- env:
image: containous/whoami:v1.5.0
imagePullPolicy: Always
name: whoami
ports:
- containerPort: 80
name: 80tcp00
protocol: TCP
restartPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: whoami
name: whoami
namespace: whoami
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
app.kubernetes.io/name: whoami
type: ClusterIP
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
labels:
app.kubernetes.io/name: whoami
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
name: whoami
namespace: whoami
spec:
rules:
- host: gecube.ml
http:
paths:
- backend:
serviceName: whoami
servicePort: 80
path: /
tls:
- hosts:
- gecube.ml
secretName: whoami-tls
---
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
namespace: cert-manager
spec:
acme:
# The ACME server URL
server: https://acme-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
email: vasyan@gecube.ml
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-staging
# Enable the HTTP-01 challenge provider
solvers:
- http01:
ingress:
class: nginx%
GG
---
apiVersion: v1
kind: Namespace
metadata:
name: whoami
labels:
app.kubernetes.io/name: whoami
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/name: whoami
name: whoami
namespace: whoami
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: whoami
template:
metadata:
labels:
app.kubernetes.io/name: whoami
spec:
containers:
- env:
image: containous/whoami:v1.5.0
imagePullPolicy: Always
name: whoami
ports:
- containerPort: 80
name: 80tcp00
protocol: TCP
restartPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: whoami
name: whoami
namespace: whoami
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
app.kubernetes.io/name: whoami
type: ClusterIP
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
labels:
app.kubernetes.io/name: whoami
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
name: whoami
namespace: whoami
spec:
rules:
- host: gecube.ml
http:
paths:
- backend:
serviceName: whoami
servicePort: 80
path: /
tls:
- hosts:
- gecube.ml
secretName: whoami-tls
---
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
namespace: cert-manager
spec:
acme:
# The ACME server URL
server: https://acme-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
email: vasyan@gecube.ml
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-staging
# Enable the HTTP-01 challenge provider
solvers:
- http01:
ingress:
class: nginx%
b
GG
b
OD
GG
OD
GG
OD
OD
АБ
P
AS
AS