apiVersion: apps/v1
kind: Deployment
metadata:
  name: xbackbone
  labels:
    helm.sh/chart: xbackbone-3.4.0
    app.kubernetes.io/name: xbackbone
    app.kubernetes.io/instance: xbackbone
    app.kubernetes.io/version: "3.3.3"
    app.kubernetes.io/managed-by: Helm
spec:
  replicas: 1
  strategy:
    type: Recreate
  selector:
    matchLabels:
      app.kubernetes.io/name: xbackbone
      app.kubernetes.io/instance: xbackbone
  template:
    metadata:
      labels:
        app.kubernetes.io/name: xbackbone
        app.kubernetes.io/instance: xbackbone
    spec:
      
      serviceAccountName: default
      dnsPolicy: ClusterFirst
      enableServiceLinks: true
      containers:
      - name: xbackbone
        image: "pe46dro/xbackbone-docker:3.3.3"
        imagePullPolicy: IfNotPresent
        ports:
        - name: http
          containerPort: 80
          protocol: TCP
        env:
          - name: URL
            value: http:\/\/192.168.10.11
        livenessProbe:
          tcpSocket:
            port: http
          initialDelaySeconds: 0
          failureThreshold: 3
          timeoutSeconds: 1
          periodSeconds: 10
        readinessProbe:
          tcpSocket:
            port: http
          initialDelaySeconds: 0
          failureThreshold: 3
          timeoutSeconds: 1
          periodSeconds: 10
        startupProbe:
          tcpSocket:
            port: http
          initialDelaySeconds: 0
          failureThreshold: 30
          timeoutSeconds: 1
          periodSeconds: 5
