mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-25 23:31:17 +00:00
29 lines
716 B
YAML
29 lines
716 B
YAML
|
apiVersion: extensions/v1beta1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: h2demo-deployment
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: h2demo
|
||
|
annotations:
|
||
|
container.seccomp.security.alpha.kubernetes.io/h2demo: docker/default
|
||
|
container.apparmor.security.beta.kubernetes.io/h2demo: runtime/default
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: h2demo
|
||
|
image: gcr.io/symbolic-datum-552/h2demo:latest
|
||
|
imagePullPolicy: Always
|
||
|
command: ["/h2demo", "-prod"]
|
||
|
ports:
|
||
|
- containerPort: 80
|
||
|
- containerPort: 443
|
||
|
resources:
|
||
|
requests:
|
||
|
cpu: "1"
|
||
|
memory: "1Gi"
|
||
|
limits:
|
||
|
memory: "2Gi"
|