Commit a5fc03c7 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

Dev deployment OSUG

parent 7b23784a
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ws-station-deployment
labels:
environment: dev
app: ws-station
spec:
replicas: 1
selector:
matchLabels:
app: ws-station
template: # POD template
metadata:
labels:
app: ws-station
environment: dev
spec:
containers:
- name: redis
image: redis
ports:
- containerPort: 6379
name: redis
protocol: TCP
- name: ws-station
image: gricad-registry.univ-grenoble-alpes.fr/osug/resif/ws-station/ws-station:dee7c312
imagePullPolicy: Always
resources:
requests:
memory: "512M"
cpu: "500m"
limits:
memory: "700M"
cpu: "1000m"
ports:
- containerPort: 8080
env:
- name: RUNMODE
value: dev
- name: BASEURL
value: wsdev.resif.fr
- name: PGHOST
value: resif-pgpreprod.u-ga.fr
- name: PGPORT
value: "5432"
- name: PGDATABASE
value: resifInv-Preprod
- name: PGUSER
value: wsstation
- name: PGPASSWORD
valueFrom:
secretKeyRef:
name: ws-station-dev-secrets
key: wsstation
- name: JAVA_OPTS
value: "-Xmx512m -DwssConfigDir='/home/sysop/wss-config'"
- name: fdsnwsstat
image: gricad-registry.univ-grenoble-alpes.fr/osug/resif/fdsnwsstat/fdsnwsstat:a08b331d
resources:
requests:
memory: "100M"
cpu: "100m"
ports:
- containerPort: 8000
env:
- name: STATS_DBURI
valueFrom:
secretKeyRef:
name: ws-station-dev-secrets
key: resifstatsuri
- name: INV_DBURI
valueFrom:
secretKeyRef:
name: ws-station-dev-secrets
key: resifinvuri
- name: AUTH_DBURI
valueFrom:
secretKeyRef:
name: ws-station-dev-secrets
key: resifauthuri
- name: RUNMODE
value: dev
- name: REDIS_QUEUE
value: fdsnwsstat
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ws-station-ingress
labels:
app: ws-station
environment: dev
spec:
rules:
- host: "wsdev.resif.fr"
http:
paths:
- path: /fdsnws/station/1/(.*)
pathType: Prefix
backend:
service:
name: ws-station-service
port:
number: 8080
apiVersion: v1
kind: Secret
metadata:
name: ws-station-dev-secrets
type: Opaque
stringData:
resifinv_ro: ENC[AES256_GCM,data:zfT9WLmqd7QwYJ9bH2cuQg==,iv:rQeMauMbzbKlg+5QE/HAWqAcWFA3WXSQAht5T6JYcvY=,tag:GjD8U2j40r5XdqNvzsVF5A==,type:str]
wsstation: ENC[AES256_GCM,data:lsafzdegL29P2SRu,iv:TFNOHCfxC7ITBA17yb90ca5/9kmqngowRlEeyxsi4U4=,tag:/PKyRWaF4oddOk/pja1siA==,type:str]
resifstatsuri: ENC[AES256_GCM,data:JkkiDSFknVBpyx1/f2YESusasborWPzYw8ubR3mEuedueN8NR0n58FnnJD+JL6OQr9rRpErTc6ZKVusCgDRn5wHO/EZ7kdjN6OeSRA==,iv:K3+eBVJgi8fViP60wJLFDMgUg6z5lWurhSiGfAi96Bg=,tag:gsWBlW64nLvbNUUj58FBhw==,type:str]
resifinvuri: ENC[AES256_GCM,data:BLFY3RfewLDg6EwKDjEb8xTwwrZEWCdonEkY9ycAyUCd3VBqCrhXhTToQG5xvxmH0ybutYWKIXE+xc/LULEgdThFSYraF/yeHUZV3/g7fw==,iv:Q2Y+QDE9a2rNKrtx2JJHKAOUPQcyxU1du1Y5fU+N2Mk=,tag:XLwNeoNDO809bdSfgH77UQ==,type:str]
resifauthuri: ENC[AES256_GCM,data:Dm/73Q/+1F1Sde/6nmLeXlv6cJ3NmcJkqwb5sOZvxTAJPTkEZxB6aUdmYIm4L0qLHiQ5HeBtLn5K5rhowT3vYLFJl3DKzSSWkxK4,iv:s+i5s27M06oJOrwS++8xwQJrnhrbGZfTbtGyafm81Q8=,tag:l/zQLe/xmihAeeQ/K7m/pg==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2021-12-07T11:00:26Z"
mac: ENC[AES256_GCM,data:xBZt08+jHivtX07FG3X7zI6VhZB0QbdbnQcJqG6PeLKyoxHzFzuSaCOhrWO+q1X0HtfUDA+KXN1VMUJAvieHbo0Aq5P6CuQ+gYgRL8ZvVK9oujtltXkAf7VmuYPxXD4/JhDVsYIY5wwJYvCkx74p/Gi22i/tggs7wQrA9zXE6Q8=,iv:MHmgvx5XmWkNAe17OK0t6DCh6nPxeTPss4PeqG2ykE8=,tag:bhJv3dXVpDF6XsfqQawJ7g==,type:str]
pgp:
- created_at: "2020-06-19T14:00:02Z"
enc: |
-----BEGIN PGP MESSAGE-----
hQEMA23uPS/3Y9M2AQgAjx0vTXHspE9LneeGi/ev/xk0A8yi3DxgJsZVtEsbSQwL
5ZijJ0wI/p0y2HzPlhl+w9INKcMQUxGo2Z184AIEwWFL8TbN97x700xiAV2gLTSq
yapwXwGloZZMCV6oWmktTA3IPeeLmGHpaR4lY4IR8iBAJophG9tc8C73xRQTzWec
ev3C+wtLnTlxpUhZj2foZ7B2ARAlE2LWqT2I3wp7d1ZJYmSrdJpltarMaJiw18X8
lpmJ/SmTO8ITRrPvtxZfBBlzNAAjbC0ed8Qs3RUHa1PSh/VeiOnefkz0lBQNKxvZ
JknwRw2AsGW0KirSLk9av7djUmasbf6mj+n8Tvi2J9JeAU4eCVRTc/AP+UFq5Ynn
yi79EnUAbM+19apxYkYQME4i2FrhnUtlcdrRNvwIBz1DOa12Z/8W7gdrpwFlM9mK
CjptN6pgRXNnV7yegPX8cJCGaoWB+TPpKheAwE3CMQ==
=CH3Z
-----END PGP MESSAGE-----
fp: C83ECA1E0B9D719C7FA2470F18E4F5A58801E669
encrypted_regex: ^(data|stringData)$
version: 3.7.1
apiVersion: v1
kind: Service
metadata:
name: ws-station-service
labels:
app: ws-station
environment: dev
spec:
type: ClusterIP
ports:
- port: 8080
selector:
app: ws-station
environment: dev
......@@ -25,7 +25,7 @@ spec:
name: redis
protocol: TCP
- name: ws-station
image: gricad-registry.univ-grenoble-alpes.fr/osug/resif/ws-station/ws-station:f831a0bf
image: gricad-registry.univ-grenoble-alpes.fr/osug/resif/ws-station/ws-station:dee7c312
imagePullPolicy: Always
ports:
- containerPort: 8080
......
......@@ -25,7 +25,7 @@ spec:
name: redis
protocol: TCP
- name: ws-station
image: gricad-registry.univ-grenoble-alpes.fr/osug/resif/ws-station/ws-station:38b5fc1e
image: gricad-registry.univ-grenoble-alpes.fr/osug/resif/ws-station/ws-station:dee7c312
imagePullPolicy: Always
resources:
requests:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment