mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-03-02 17:30:20 +00:00
- volumes (general overview) - building with the docker engine (bind-mounting the docker socket) - building with kaniko (and init containers) - managing configuration (configmaps, downward api) Also added a new-content.yml file with just the new content (for easier review), containing my plans for future chapters.
17 lines
250 B
YAML
17 lines
250 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: haproxy
|
|
spec:
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: haproxy
|
|
containers:
|
|
- name: haproxy
|
|
image: haproxy
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /usr/local/etc/haproxy/
|
|
|