Sign inSign up

lamfo/emp

By lamfo

Updated over 5 years ago

Image
0

168

lamfo/emp repository overview

kind: Deployment
apiVersion: apps/v1
metadata:
  name: emp
  labels:
    app.kubernetes.io/app: emp
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/app: emp
  template:
    metadata:
      creationTimestamp: null
      labels:
        app.kubernetes.io/app: emp
    spec:
#      nodeSelector:
#        kubernetes.io/hostname: w5.vcluster.ru
      volumes:
        - name: common
          hostPath:
            path: /emp
            type: Directory
      containers:
        - name: emp
          image: lamfo/emp:v2
          imagePullPolicy: Always
          volumeMounts:
          - mountPath: /home/user/Steam
            name: common
          ports:
            - containerPort: 30000    
              protocol: UDP
          resources:
            requests:
              cpu: 2000m
              memory: 4Gi
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
          imagePullPolicy: IfNotPresent
          securityContext: {}
      restartPolicy: Always
      terminationGracePeriodSeconds: 30
      dnsPolicy: ClusterFirst
      securityContext: 
        runAsUser: 0
        fsGroup: 1000
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 100%
      maxSurge: 25%
  revisionHistoryLimit: 1
  progressDeadlineSeconds: 600
---
apiVersion: v1
kind: Service
metadata:
  name: emp
  labels:
    app.kubernetes.io/app: emp
spec:
  type: LoadBalancer
  sessionAffinity: ClientIP
#  externalIPs:
#    - 10.200.0.13
#    - 185.255.132.80
#    - 10.220.3.105
  ports:
  - port: 30000
    protocol: UDP
  selector:
    app.kubernetes.io/app: emp

Tag summary

Content type

Image

Digest

Size

981.3 MB

Last updated

over 5 years ago

docker pull lamfo/emp:v2