diff options
Diffstat (limited to 'kubernetes/namespaces/default/h-asgi/deployment.yaml')
| -rw-r--r-- | kubernetes/namespaces/default/h-asgi/deployment.yaml | 31 | 
1 files changed, 31 insertions, 0 deletions
| diff --git a/kubernetes/namespaces/default/h-asgi/deployment.yaml b/kubernetes/namespaces/default/h-asgi/deployment.yaml new file mode 100644 index 0000000..d195201 --- /dev/null +++ b/kubernetes/namespaces/default/h-asgi/deployment.yaml @@ -0,0 +1,31 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: +  name: h-asgi +spec: +  replicas: 1 +  selector: +    matchLabels: +      app: h-asgi +  template: +    metadata: +      labels: +        app: h-asgi +    spec: +      containers: +      - name: h-asgi +        image: ghcr.io/vcokltfre/h:latest +        imagePullPolicy: Always +        resources: +          requests: +            cpu: 30m +            memory: 25Mi +          limits: +            cpu: 30m +            memory: 25Mi +        securityContext: +          readOnlyRootFilesystem: true +      securityContext: +        fsGroup: 2000 +        runAsUser: 1000 +        runAsNonRoot: true | 
