diff options
Diffstat (limited to 'templates/default/kubernetes/sfive-proxy-deploy.yml.j2')
-rw-r--r-- | templates/default/kubernetes/sfive-proxy-deploy.yml.j2 | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/templates/default/kubernetes/sfive-proxy-deploy.yml.j2 b/templates/default/kubernetes/sfive-proxy-deploy.yml.j2 deleted file mode 100644 index 62ed9fe..0000000 --- a/templates/default/kubernetes/sfive-proxy-deploy.yml.j2 +++ /dev/null @@ -1,73 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - namespace: {{ namespace }} - name: sfive-proxy-{{ worker.name }} - labels: - app: sfive - type: proxy - worker: {{ worker.name }} -spec: - replicas: 1 - selector: - matchLabels: - app: sfive - type: proxy - worker: {{ worker.name }} - strategy: - type: Recreate - revisionHistoryLimit: 5 - template: - metadata: - labels: - app: sfive - type: proxy - worker: {{ worker.name }} - spec: - nodeName: {{ worker.name }} - securityContext: - runAsUser: 998 - fsGroup: 998 - hostNetwork: true - dnsPolicy: ClusterFirstWithHostNet - containers: - - name: proxy - image: spreadspace/sfive:{{ desc.globals.deployment.parameter.sfive_image_version }} - imagePullPolicy: Always - args: - - s5proxy - - -config - - /srv/config/proxy.json - volumeMounts: - - name: home - mountPath: /srv - - name: proxy-config - mountPath: /srv/config - - name: hub - image: spreadspace/sfive:{{ desc.globals.deployment.parameter.sfive_image_version }} - imagePullPolicy: Always - args: - - sfive-hub - - -db - - /srv/data/db.bolt - - -start-pipe-server=false - - -start-web-server=false - - -start-pipegram-server - - -pipegram - - /srv/hub.sock - volumeMounts: - - name: home - mountPath: /srv - - name: hub-data - mountPath: /srv/data - volumes: - - name: home - emptyDir: - medium: Memory - - name: proxy-config - configMap: - name: sfive-proxy-{{ worker.name }} - - name: hub-data - hostPath: - type: DirectoryOrCreate - path: /var/lib/sfive/{{ desc.globals.name }} |