Ferdinand
12/20/2022, 11:09 AMyaml
_001_customMicroservices:
-
name: example
image: hello-world:latest
enabled: false
# imagePullPolicy: Always is recommended when using latest tags. Otherwise, please use IfNotPresent
imagePullPolicy: Always
# these will be passed as environment variables
env:
- name: LOGGING_LEVEL
value: PRODUCTION
# this will expose port 80 on the host on port 8080
port: 80
externalPort: 8080
# startupProbe, livenessProbe, check whether port 9090 "/health" is accessible.
# If not (e.g., due to container stuck), the container will be restarted
# startupProbe: 100
# livenessProbe: 50
# probePort: 9090
# statefulEnabled will automatically mount a volume under /data, which can be used to store data.
# Recommendation is to turn it off
statefulEnabled: true
I can't guarantee it will work, since it is a bit limited in functionality, but it was made by us for quickly testing out new stuff.