Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix apiVersion for DaemonSet #974

Merged
merged 2 commits into from
Oct 10, 2019
Merged

fix apiVersion for DaemonSet #974

merged 2 commits into from
Oct 10, 2019

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented Oct 2, 2019

What problem does this PR solve?

apiVersion: extensions/v1beta1 has marked DaemonSet as obsolete, switching to apps/v1

What is changed and how does it work?

apiVersion: extensions/v1beta1 has marked DaemonSet as obsolete

Check List

?

Does this PR introduce a user-facing change?:

NONE

@CLAassistant
Copy link

CLAassistant commented Oct 2, 2019

CLA assistant check
All committers have signed the CLA.

@tennix
Copy link
Member

tennix commented Oct 8, 2019

@nyurik Thank you for your contribution! Could you change other obsolete apiVersions too?

@nyurik
Copy link
Contributor Author

nyurik commented Oct 8, 2019

@nyurik Thank you for your contribution! Could you change other obsolete apiVersions too?

@tennix are you refering to other files in the repo? I only looked at this one (was looking at auto-RAID creation), so I could verify it working. I didn't validate any other ones.

@tennix
Copy link
Member

tennix commented Oct 8, 2019

The tidb-scheduler Deployment also uses extensions/v1beta1 apiVersion, I think this needs to be changed too.

@nyurik
Copy link
Contributor Author

nyurik commented Oct 8, 2019

@tennix there are 12 places that use DaemonSet and Deployment with extensions/v1beta1, and I am a bit weary of making search/replace changes in a project that I'm not too familiar with :)

@tennix
Copy link
Member

tennix commented Oct 8, 2019

I think it's OK since the minimal requirement is k8s 1.12.5. The apps API group should be always enabled.

@tennix
Copy link
Member

tennix commented Oct 9, 2019

@nyurik Hi, if you don't want to fix other obsolete apiVersion in this PR, we can merge it for now and fix others in later PRs.

Copy link
Member

@tennix tennix left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@weekface weekface left a comment

Choose a reason for hiding this comment

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

lgtm

@tennix tennix merged commit 6186189 into pingcap:master Oct 10, 2019
yahonda pushed a commit that referenced this pull request Dec 27, 2021
* zh: add the docs about deploying a multicluster TiDB cluster

* add tls description

* remove concepts about VPC-native

* modify descriptions about FQDN

* modify FQDN description

* experimental support description

* add cluster down and recycle

* fix PD member leader

* fix comment about multi kubernetes clusters

* revert Kubernets clusters support

* fix description about multicluster

* add line break

* fix bare url lint err

* add to toc

* fix comment

* seperate one expression

* fix spaces in cluster name

* fix namespace

* fix comment

* remove unused namespace metainfo

* fix notice

* Apply suggestions from code review

Co-authored-by: DanielZhangQD <[email protected]>

* fix add exsisted cluster description

* fix comments

* fix error

* fix tls

* fix comment on TLS

* Update TOC

* fix lint

* Apply suggestions from code review

Co-authored-by: Ran <[email protected]>
Co-authored-by: DanielZhangQD <[email protected]>

* Add components TLS introduction

* fix format

* add tls support

* fix comma error

* avoid duplicate title

* fix descriptions in join clusters.

* organize the structure

* use ordered list to describe each step

* fix order list ci

* fix ci

* separate env and create func

* Update zh/deploy-tidb-cluster-across-multiple-kubernetes.md

Co-authored-by: DanielZhangQD <[email protected]>

* support scenario description update

* Update zh/deploy-tidb-cluster-across-multiple-kubernetes.md

Co-authored-by: DanielZhangQD <[email protected]>

* Update zh/deploy-tidb-cluster-across-multiple-kubernetes.md

Co-authored-by: DanielZhangQD <[email protected]>

* fix namespace

* fix description in CA

* fix URL

* fix URL

* fix CI

* suggest to remove unused information in cacert secret

* add title for components cert issue

* Apply suggestions from code review

Co-authored-by: Ran <[email protected]>

* Apply suggestions from code review

Co-authored-by: DanielZhangQD <[email protected]>

* Add copyable tag

* fix comment

* fix clusterdomain

* Apply suggestions from code review

Co-authored-by: Ran <[email protected]>

* fix comment

* remove mistaken step division

* use kubectl patch

* use patch

* Apply suggestions from code review

Co-authored-by: DanielZhangQD <[email protected]>

* fix update peerURL

* split the contents

Co-authored-by: DanielZhangQD <[email protected]>
Co-authored-by: Ran <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants