Support for kubernetes hostPath Volumes
Bug #1861516 reported by
George Kraft
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Yang Kelvin Liu |
Bug Description
I'm trying to create a k8s charm for Multus, which requires the use of hostPath Volumes. For example, here's a snippet with the volumes and volumeMounts I'd like to include in the Deployment/
containers:
- name: kube-multus
image: nfvpe/multus:v3.4
volumeMounts:
- name: cni
mountPath: /host/etc/cni/net.d
- name: cnibin
mountPath: /host/opt/cni/bin
volumes:
- name: cni
hostPath:
path: /etc/cni/net.d
- name: cnibin
hostPath:
path: /opt/cni/bin
As I understand it, this is currently not possible to do with pod-spec-set or metadata in k8s charms.
tags: | added: k8s |
Changed in juju: | |
milestone: | none → 2.8-beta1 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in juju: | |
assignee: | nobody → Yang Kelvin Liu (kelvin.liu) |
status: | Triaged → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
hi George /discourse. jujucharms. com/t/new- extended- volume- support- and-other- spec-v3- changes/ 2698
This is supported in k8s spec v3 now.
Here is the doc: https:/