devel: rename manifests/ to kustomizations/
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
|
||||
value: /healthz
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
|
||||
value: /healthz
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/envFrom
|
||||
value: []
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
patches:
|
||||
- target:
|
||||
version: v1
|
||||
group: apps
|
||||
kind: Deployment
|
||||
path: deployment_patch.yaml
|
||||
- target:
|
||||
version: v1
|
||||
kind: Service
|
||||
path: service_patch.yaml
|
||||
resources:
|
||||
- _manifest.yaml
|
||||
@@ -0,0 +1,7 @@
|
||||
- op: add
|
||||
path: /spec/ports/-
|
||||
value:
|
||||
name: intra
|
||||
port: 8000
|
||||
protocol: TCP
|
||||
targetPort: 8000
|
||||
@@ -0,0 +1 @@
|
||||
oceanbox/hipster
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"slurm": {
|
||||
"baseUrl": "https://hipster-slurmrestd.ekman.oceanbox.io/",
|
||||
"slurmApi": "slurm/v0.0.38/",
|
||||
"dbdApi": "slurmdbd/v0.0.38/",
|
||||
"user": "serf",
|
||||
"password": ""
|
||||
},
|
||||
"amqp": {
|
||||
"auth": "",
|
||||
"host": "10.255.241.201:30673"
|
||||
},
|
||||
"archmeister": "https://archmeister.srv.oceanbox.io",
|
||||
"pubsubName": "pubsub",
|
||||
"pubsubTopic": "hipster-atlantis",
|
||||
"fenceRadius": 1000.0,
|
||||
"cerbosUrl": "http://prod-cerbos.idp.svc:3593"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
#
|
||||
# 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 # name of the subscription path in the app!
|
||||
spec:
|
||||
type: bindings.rabbitmq
|
||||
version: v1
|
||||
metadata:
|
||||
- name: host
|
||||
secretKeyRef:
|
||||
name: prod-rabbitmq
|
||||
key: connString
|
||||
- name: queueName
|
||||
value: prod-hipster-slurm-job-events
|
||||
- name: durable
|
||||
value: true
|
||||
- name: contentType
|
||||
value: "application/json"
|
||||
scopes:
|
||||
- prod-hipster
|
||||
@@ -0,0 +1,2 @@
|
||||
SLURM_PASSWORD=wooqueiLee3ao0ha
|
||||
SEQ_APIKEY=DRRRBGlTvl00icnSGbeT
|
||||
@@ -0,0 +1,37 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env
|
||||
value: []
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: LOG_LEVEL
|
||||
value: "4"
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: CI_ENVIRONMENT
|
||||
value: "production"
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
|
||||
value: /healthz
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
|
||||
value: /healthz
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: AMQP_USER
|
||||
value: user
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: AMQP_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: prod-rabbitmq
|
||||
key: rabbitmq-password
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/envFrom/-
|
||||
value:
|
||||
secretRef:
|
||||
name: prod-hipster-env
|
||||
@@ -0,0 +1,18 @@
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
secretGenerator:
|
||||
- name: prod-hipster-appsettings
|
||||
files:
|
||||
- appsettings.json
|
||||
- name: prod-hipster-env
|
||||
envs:
|
||||
- default.env
|
||||
patches:
|
||||
- target:
|
||||
group: apps
|
||||
version: v1
|
||||
kind: Deployment
|
||||
path: deployment_patch.yaml
|
||||
resources:
|
||||
- bindings.yaml
|
||||
- ../base
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"slurm": {
|
||||
"baseUrl": "https://hipster-slurmrestd.ekman.oceanbox.io/",
|
||||
"slurmApi": "slurm/v0.0.38/",
|
||||
"dbdApi": "slurmdbd/v0.0.38/",
|
||||
"user": "serf",
|
||||
"password": "wooqueiLee3ao0ha"
|
||||
},
|
||||
"amqp": {
|
||||
"auth": "",
|
||||
"host": "10.255.241.201:31673"
|
||||
},
|
||||
"archmeister": "https://archmeister.beta.oceanbox.io",
|
||||
"pubsubName": "pubsub",
|
||||
"pubsubTopic": "hipster-atlantis",
|
||||
"fenceRadius": 1000.0,
|
||||
"cerbosUrl": "http://staging-cerbos.idp.svc:3593"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
#
|
||||
# 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 # name of the subscription path in the app!
|
||||
spec:
|
||||
type: bindings.rabbitmq
|
||||
version: v1
|
||||
metadata:
|
||||
- name: host
|
||||
secretKeyRef:
|
||||
name: staging-rabbitmq
|
||||
key: connString
|
||||
- name: queueName
|
||||
value: staging-hipster-slurm-job-events
|
||||
- name: durable
|
||||
value: true
|
||||
- name: contentType
|
||||
value: "application/json"
|
||||
scopes:
|
||||
- staging-hipster
|
||||
@@ -0,0 +1,2 @@
|
||||
SLURM_PASSWORD=wooqueiLee3ao0ha
|
||||
SEQ_APIKEY=DRRRBGlTvl00icnSGbeT
|
||||
@@ -0,0 +1,37 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env
|
||||
value: []
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: LOG_LEVEL
|
||||
value: "4"
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: CI_ENVIRONMENT
|
||||
value: "staging"
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/livenessProbe/httpGet/path
|
||||
value: /healthz
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
|
||||
value: /healthz
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: AMQP_USER
|
||||
value: user
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: AMQP_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: staging-rabbitmq
|
||||
key: rabbitmq-password
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/envFrom/-
|
||||
value:
|
||||
secretRef:
|
||||
name: staging-hipster-env
|
||||
@@ -0,0 +1,18 @@
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
secretGenerator:
|
||||
- name: staging-hipster-appsettings
|
||||
files:
|
||||
- appsettings.json
|
||||
- name: staging-hipster-env
|
||||
envs:
|
||||
- default.env
|
||||
patches:
|
||||
- target:
|
||||
group: apps
|
||||
version: v1
|
||||
kind: Deployment
|
||||
path: deployment_patch.yaml
|
||||
resources:
|
||||
- bindings.yaml
|
||||
- ../base
|
||||
@@ -0,0 +1,21 @@
|
||||
podAnnotations:
|
||||
dapr.io/app-id: "prod-hipster"
|
||||
dapr.io/enabled: "true"
|
||||
dapr.io/app-port: "8000"
|
||||
dapr.io/config: "tracing"
|
||||
dapr.io/app-protocol: "http"
|
||||
dapr.io/enable-app-health-check: "true"
|
||||
dapr.io/app-health-check-path: "/healthz"
|
||||
dapr.io/app-health-probe-interval: "3"
|
||||
dapr.io/app-health-probe-timeout: "200"
|
||||
dapr.io/app-health-threshold: "2"
|
||||
dapr.io/sidecar-cpu-request: "100m"
|
||||
dapr.io/sidecar-memory-request: "250Mi"
|
||||
dapr.io/sidecar-cpu-limit: "300m"
|
||||
dapr.io/sidecar-memory-limit: "1000Mi"
|
||||
dapr.io/log-as-json: "true"
|
||||
|
||||
ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
atlantis.oceanbox.io/expose: internal
|
||||
@@ -0,0 +1,24 @@
|
||||
image:
|
||||
tag: 8c5cf432-debug
|
||||
|
||||
podAnnotations:
|
||||
dapr.io/app-id: "staging-hipster"
|
||||
dapr.io/enabled: "true"
|
||||
dapr.io/app-port: "8000"
|
||||
dapr.io/config: "tracing"
|
||||
dapr.io/app-protocol: "http"
|
||||
dapr.io/enable-app-health-check: "true"
|
||||
dapr.io/app-health-check-path: "/healthz"
|
||||
dapr.io/app-health-probe-interval: "3"
|
||||
dapr.io/app-health-probe-timeout: "200"
|
||||
dapr.io/app-health-threshold: "2"
|
||||
dapr.io/sidecar-cpu-request: "100m"
|
||||
dapr.io/sidecar-memory-request: "250Mi"
|
||||
dapr.io/sidecar-cpu-limit: "300m"
|
||||
dapr.io/sidecar-memory-limit: "1000Mi"
|
||||
dapr.io/log-as-json: "true"
|
||||
|
||||
ingress:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-staging
|
||||
atlantis.oceanbox.io/expose: internal
|
||||
Reference in New Issue
Block a user