fix: update hipster deployment setup
This commit is contained in:
@@ -37,9 +37,6 @@ spec:
|
|||||||
string: '{{ .env }}'
|
string: '{{ .env }}'
|
||||||
- name: hostname
|
- name: hostname
|
||||||
string: '{{ .hostname }}'
|
string: '{{ .hostname }}'
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
|
||||||
targetRevision: dev
|
|
||||||
path: charts/hipster/manifests
|
|
||||||
templatePatch: |
|
templatePatch: |
|
||||||
{{- if .autoSync }}
|
{{- if .autoSync }}
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -5,12 +5,10 @@ patches:
|
|||||||
version: v1
|
version: v1
|
||||||
group: apps
|
group: apps
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: hipster
|
|
||||||
path: deployment_patch.yaml
|
path: deployment_patch.yaml
|
||||||
- target:
|
- target:
|
||||||
version: v1
|
version: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
name: hipster
|
|
||||||
path: service_patch.yaml
|
path: service_patch.yaml
|
||||||
resources:
|
resources:
|
||||||
- _manifest.yaml
|
- _manifest.yaml
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/hipster
|
repository: registry.gitlab.com/oceanbox/hipster
|
||||||
tag: latest
|
tag: v2.5.0
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
init:
|
init:
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: hipster-env
|
|
||||||
namespace: atlantis
|
|
||||||
stringData:
|
|
||||||
SEQ_APIKEY: bFdYPKLDvnau3fQa1vRV
|
|
||||||
type: Opaque
|
|
||||||
@@ -4,11 +4,11 @@
|
|||||||
"slurmApi": "slurm/v0.0.38/",
|
"slurmApi": "slurm/v0.0.38/",
|
||||||
"dbdApi": "slurmdbd/v0.0.38/",
|
"dbdApi": "slurmdbd/v0.0.38/",
|
||||||
"user": "serf",
|
"user": "serf",
|
||||||
"password": "wooqueiLee3ao0ha"
|
"password": ""
|
||||||
},
|
},
|
||||||
"amqp": {
|
"amqp": {
|
||||||
"auth": "user:bunny",
|
"auth": "",
|
||||||
"host": "10.1.8.60:30673"
|
"host": "prod-rabbitmq.rabbitmq.svc"
|
||||||
},
|
},
|
||||||
"archmeister": "https://archmeister.srv.oceanbox.io",
|
"archmeister": "https://archmeister.srv.oceanbox.io",
|
||||||
"pubsubName": "pubsub",
|
"pubsubName": "pubsub",
|
||||||
|
|||||||
@@ -17,17 +17,14 @@ spec:
|
|||||||
- name: username
|
- name: username
|
||||||
value: user
|
value: user
|
||||||
- name: password
|
- name: password
|
||||||
value:
|
secretKeyRef:
|
||||||
secretKeyRef:
|
name: prod-rabbitmq
|
||||||
name: rabbitmq-secret
|
|
||||||
key: rabbitmq-password
|
key: rabbitmq-password
|
||||||
- name: queueName
|
- name: queueName
|
||||||
value: <x>-slurm-job-events
|
value: prod-hipster-slurm-job-events
|
||||||
- name: durable
|
- name: durable
|
||||||
value: true
|
value: true
|
||||||
- name: contentType
|
- name: contentType
|
||||||
value: "application/json"
|
value: "application/json"
|
||||||
scopes:
|
scopes:
|
||||||
- staging-hipster
|
- hipster
|
||||||
- production-hipster
|
|
||||||
- x-review-hipster
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
SLURM_PASSWORD=wooqueiLee3ao0ha
|
||||||
|
SEQ_APIKEY=bFdYPKLDvnau3fQa1vRV
|
||||||
@@ -25,6 +25,11 @@
|
|||||||
- op: replace
|
- op: replace
|
||||||
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
|
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
|
||||||
value: /healthz
|
value: /healthz
|
||||||
|
- op: add
|
||||||
|
path: /spec/template/spec/containers/0/env/-
|
||||||
|
value:
|
||||||
|
name: AMQP_USER
|
||||||
|
value: user
|
||||||
- op: add
|
- op: add
|
||||||
path: /spec/template/spec/containers/0/env/-
|
path: /spec/template/spec/containers/0/env/-
|
||||||
value:
|
value:
|
||||||
@@ -37,4 +42,4 @@
|
|||||||
path: /spec/template/spec/containers/0/envFrom/-
|
path: /spec/template/spec/containers/0/envFrom/-
|
||||||
value:
|
value:
|
||||||
secretRef:
|
secretRef:
|
||||||
name: hipster-env
|
name: prod-hipster-env
|
||||||
|
|||||||
@@ -1,16 +1,17 @@
|
|||||||
namePrefix: production-
|
|
||||||
generatorOptions:
|
generatorOptions:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: hipster-appsettings
|
- name: prod-hipster-appsettings
|
||||||
files:
|
files:
|
||||||
- appsettings.json
|
- appsettings.json
|
||||||
|
- name: prod-hipster-env
|
||||||
|
envs:
|
||||||
|
- default.env
|
||||||
patches:
|
patches:
|
||||||
- target:
|
- target:
|
||||||
group: apps
|
group: apps
|
||||||
version: v1
|
version: v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: hipster
|
|
||||||
path: deployment_patch.yaml
|
path: deployment_patch.yaml
|
||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
"password": "wooqueiLee3ao0ha"
|
"password": "wooqueiLee3ao0ha"
|
||||||
},
|
},
|
||||||
"amqp": {
|
"amqp": {
|
||||||
"auth": "user:bunny",
|
"auth": "",
|
||||||
"host": "10.1.8.60:30673"
|
"host": "staging-rabbitmq.rabbitmq.svc"
|
||||||
},
|
},
|
||||||
"archmeister": "https://archmeister.beta.oceanbox.io",
|
"archmeister": "https://archmeister.beta.oceanbox.io",
|
||||||
"pubsubName": "pubsub",
|
"pubsubName": "pubsub",
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
#
|
||||||
|
# Create a queue binding for receiving events from RabbitMQ.
|
||||||
|
# Used by Hipster to get info about changes in job status from slurm.
|
||||||
|
#
|
||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: slurm-events
|
||||||
|
spec:
|
||||||
|
type: bindings.rabbitmq
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: hostname
|
||||||
|
value: staging-rabbitmq.rabbitmq.svc
|
||||||
|
- name: protocol
|
||||||
|
value: amqp
|
||||||
|
- name: username
|
||||||
|
value: user
|
||||||
|
- name: password
|
||||||
|
secretKeyRef:
|
||||||
|
name: staging-rabbitmq
|
||||||
|
key: rabbitmq-password
|
||||||
|
- name: queueName
|
||||||
|
value: staging-hipster-slurm-job-events
|
||||||
|
- name: durable
|
||||||
|
value: true
|
||||||
|
- name: contentType
|
||||||
|
value: "application/json"
|
||||||
|
scopes:
|
||||||
|
- hipster
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
SLURM_PASSWORD=wooqueiLee3ao0ha
|
||||||
|
SEQ_APIKEY=bFdYPKLDvnau3fQa1vRV
|
||||||
@@ -42,4 +42,4 @@
|
|||||||
path: /spec/template/spec/containers/0/envFrom/-
|
path: /spec/template/spec/containers/0/envFrom/-
|
||||||
value:
|
value:
|
||||||
secretRef:
|
secretRef:
|
||||||
name: hipster-env
|
name: staging-hipster-env
|
||||||
|
|||||||
@@ -1,16 +1,17 @@
|
|||||||
namePrefix: staging-
|
|
||||||
generatorOptions:
|
generatorOptions:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: hipster-appsettings
|
- name: staging-hipster-appsettings
|
||||||
files:
|
files:
|
||||||
- appsettings.json
|
- appsettings.json
|
||||||
|
- name: staging-hipster-env
|
||||||
|
envs:
|
||||||
|
- default.env
|
||||||
patches:
|
patches:
|
||||||
- target:
|
- target:
|
||||||
group: apps
|
group: apps
|
||||||
version: v1
|
version: v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: hipster
|
|
||||||
path: deployment_patch.yaml
|
path: deployment_patch.yaml
|
||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
fullnameOverride: hipster
|
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
fullnameOverride: hipster
|
|
||||||
|
|
||||||
image:
|
image:
|
||||||
tag: d3af2100-debug
|
tag: d3af2100-debug
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user