okteto.yml
name: backend-java-patterns-v1
image: okteto/styled-java-patterns
labels:
app.kubernetes.io/part-of: devops
app.kubernetes.io/component: documentation
environment:
- ENVIRONMENT=Development
# command: [ "/usr/bin/python3.8", "-m", "mkdocs", "serve", "--verbose", "--dirtyreload", "--dev-addr=0.0.0.0:8000" ]
sync:
- .:/docs
workdir: .
remote: 2222
resources:
requests:
memory: '64Mi'
cpu: '250m'
limits:
memory: '128Mi'
cpu: '500m'
forward:
- 8000:8000
persistentVolume:
enabled: false
lifecycle:
postStart: false
postStop: true
securityContext:
runAsUser: 1000
runAsGroup: 2000
fsGroup: 3000
capabilities:
add:
- SYS_PTRACE