Add optional dnsPolicy, dnsConfig to all pods by cognifloyd · Pull Request #201 · StackStorm/stackstorm-k8s

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Conversation

@cognifloyd

Copy link Copy Markdown

Member

@cognifloyd cognifloyd commented

Jun 19, 2021

edited

Loading

Adds dnsPolicy and dnsConfig to all pods based on .Values.dnsPolicy and .Values.dnsConfig if defined.

I do not think having different dnsConfig/dnsPolicy per pod makes much sense, so this is provides only one common value for all the pods defined by stackstorm-ha, not one-per-pod like other settings.

dnsPolicy: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsConfig: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config

@pull-request-size pull-request-size bot added the size/L

PR that changes 100-499 lines. Requires some effort to review.

label

Jun 19, 2021

@cognifloyd cognifloyd requested a review from arm4b

June 19, 2021 18:09

@cognifloyd

Copy link Copy Markdown

Member Author

rebased on master

@cognifloyd cognifloyd force-pushed the internal-dns branch 5 times, most recently from d086c1e to e37daf9 Compare

July 3, 2021 16:50

@cognifloyd cognifloyd added the K8s label

Jul 3, 2021

@cognifloyd cognifloyd force-pushed the internal-dns branch 2 times, most recently from c250d7b to 5dc5e40 Compare

July 5, 2021 16:10

@cognifloyd

Copy link Copy Markdown

Member Author

cognifloyd commented

Jul 5, 2021

edited

Loading

@armab This is straight forward as well and should be quick to review.
It adds dnsPolicy and dnsConfig to all pods (based on .Values.dnsPolicy and .Values.dnsConfig if defined). It only adds lines; it does not change any existing lines.

Thanks again for all your reviews.

Copy link Copy Markdown

Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

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

Thanks!

Agree about making this setting common for all the Pods

@arm4b arm4b merged commit d2691ee into StackStorm:master

Jul 6, 2021

@cognifloyd cognifloyd removed the RFR label

Jul 10, 2021

@cognifloyd cognifloyd deleted the internal-dns branch

November 11, 2021 18:56

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

Reviewers

1 more reviewer

@arm4b arm4b arm4b approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

feature K8s size/L

PR that changes 100-499 lines. Requires some effort to review.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@cognifloyd @arm4b