Skip to content

talosctl gen config with extraMounts info #8497

Closed Answered by marcoferraraUK
marcoferraraUK asked this question in Q&A
Discussion options

You must be logged in to vote

ok I found the solution:

cat openebs.yaml
machine:
  kubelet:
    extraMounts:
      - destination: /var/openebs
        type: bind
        source: /var/lib/openebs
        options:
          - bind
          - rshared
          - rw

and apply using the command:

talosctl gen config k8s-cluster https://talos.mydomain.local:6443 --with-examples=false --with-docs=false --with-kubespan \
	--kubernetes-version v1.28.0 \
	--talos-version v1.6.6 \
	--with-secrets secrets.yaml \
	--additional-sans talos.mydomain.local,1192.168.0.1,192.168.0.2,192.168.0.3 \
	--dns-domain mydomain.local
	--config-patch @openebs.yaml

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcoferraraUK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant