7,540
edits
Changes
→Security
<br>
==Adding entries to Pod /etc/hosts==
https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
<source lang="C++">
apiVersion: v1
kind: Pod
metadata:
name: hostaliases-pod
spec:
restartPolicy: Never
hostAliases:
- ip: "127.0.0.1"
hostnames:
- "foo.local"
- "bar.local"
</source>
<br>
<br>
<br>
<br>
=Volumes=