Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Add tmpfs option for etcd-data volume #2103

Open
chriscoester wants to merge 1 commit into coreos:master
base: master
Choose a base branch
Loading
from chriscoester:addTmpfsOption

Conversation

@chriscoester
Copy link

@chriscoester chriscoester commented Jul 24, 2019

This adds an additional optional field to the etcdcluster.spec.pod field, allowing etcdpods to use tmpfs for etcd-data.

Fixes #2053

tonyfahrion, riaan53, Marlinc, and trevex reacted with thumbs up emoji
Copy link

Marlinc commented Nov 7, 2019

Any chance someone could look into this? Anything I can do to help with getting it in?

k8sutil.AddEtcdVolumeToPod(pod, pvc, false)
} else {
k8sutil.AddEtcdVolumeToPod(pod, nil)
k8sutil.AddEtcdVolumeToPod(pod, nil, c.cluster.Spec.Pod.Tmpfs)
Copy link

@Marlinc Marlinc Nov 9, 2019
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested this and it will cause the operator to crash with a nil error when c.cluster.Spec.Pod is nil.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've pushed a fix in cbws#22

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer

@Marlinc Marlinc Marlinc requested changes

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Option to set emptyDir.medium to "Memory"

AltStyle によって変換されたページ (->オリジナル) /