apiVersion: apps/v1
kind: Deployment
metadata:
  name: {{ include "cla-frontend.fullname" . }}-socket-server
  labels:
    {{- include "cla-frontend.labels" . | nindent 4 }}
spec:
  replicas: 1
  selector:
    matchLabels:
      {{- include "cla-socket-server.selectorLabels" . | nindent 6 }}
  template:
    metadata:
      labels:
        {{- include "cla-socket-server.selectorLabels" . | nindent 8 }}
    spec:
      containers:
        - name: {{ .Chart.Name }}-socket-server
          image: "{{ .Values.socketServer.image.repository }}:{{ .Values.socketServer.image.tag }}"
          imagePullPolicy: {{ .Values.socketServer.image.pullPolicy }}
          ports:
            - name: http
              containerPort: 8000
              protocol: TCP
          livenessProbe:
            httpGet:
              path: /status/live/
              port: http
              httpHeaders:
                - name: Host
                  value: "{{ .Values.host }}"
          readinessProbe:
            httpGet:
              path: /status/ready/
              port: http
              httpHeaders:
                - name: Host
                  value: "{{ .Values.host }}"
          lifecycle:
            preStop:
              exec:
                command: ["/bin/sleep","30"]
          env:
            {{ include "cla-frontend.app.vars" . | nindent 12 }}

apiVersion: apps/v1
kind: Deployment
metadata:
  name: {{ include "cla-frontend.fullname" . }}-socket-server
  labels:
    {{- include "cla-frontend.labels" . | nindent 4 }}
spec:
  replicas: 1
  selector:
    matchLabels:
      {{- include "cla-socket-server.selectorLabels" . | nindent 6 }}
  template:
    metadata:
      labels:
        {{- include "cla-socket-server.selectorLabels" . | nindent 8 }}
    spec:
      containers:
        - name: {{ .Chart.Name }}-socket-server
          image: "{{ .Values.socketServer.image.repository }}:{{ .Values.socketServer.image.tag }}"
          imagePullPolicy: {{ .Values.socketServer.image.pullPolicy }}
          ports:
            - name: http
              containerPort: 8000
              protocol: TCP
          # livenessProbe:
            # httpGet:
              # path: /status/live/
              # port: http
              # httpHeaders:
                # - name: Host
                  # value: "{{ .Values.host }}"
          # readinessProbe:
            # httpGet:
              # path: /status/ready/
              # port: http
              # httpHeaders:
                # - name: Host
                  # value: "{{ .Values.host }}"
          lifecycle:
            preStop:
              exec:
                command: ["/bin/sleep","30"]
          env:
            {{ include "cla-frontend.app.vars" . | nindent 12 }}

Disable probes on socketserver pod
Disable probes on socketserver pod

We haven't devised them yet: these were copied from the app pods
