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

support taint cluster node through clusterfile #1889

Closed
kakaZhou719 opened this issue Nov 23, 2022 · 0 comments · Fixed by #1894
Closed

support taint cluster node through clusterfile #1889

kakaZhou719 opened this issue Nov 23, 2022 · 0 comments · Fixed by #1894
Assignees
Labels
kind/feature Category issues or PRs related to feature request
Milestone

Comments

@kakaZhou719
Copy link
Member

kakaZhou719 commented Nov 23, 2022

Issue Description

same with configure node label and roles. we also need to support taint cluster node through clusterfile.

type Host struct {
	IPS   []net.IP `json:"ips,omitempty"`
	Roles []string `json:"roles,omitempty"`
	//overwrite SSH config
	SSH v1.SSH `json:"ssh,omitempty"`
	//overwrite env
	Env []string `json:"env,omitempty"`
	Taints []string `json:"taints,omitempty"`
}
apiVersion: sealer.cloud/v2
kind: Cluster
metadata:
  creationTimestamp: null
  name: my-cluster
spec:
  hosts:
  - ips:
    - 172.16.26.187
    roles:
    - node
    taints:
      - key1=value1:NoSchedule
      - key2=value2:NoSchedule-
    ssh: {}
  - ips:
    - 172.16.26.188
    roles:
    - master
    labels:
      fake: labels
    ssh: {}
  image: registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.22.4-test
  ssh:
    passwd: testabs
    pk: /root/.ssh/id_rsa
    port: "22"
    user: root
status: {}

Type: feature request

Describe what feature you want

Additional context

Add any other context or screenshots about the feature request here.

@kakaZhou719 kakaZhou719 added the kind/feature Category issues or PRs related to feature request label Nov 23, 2022
@Stevent-fei Stevent-fei self-assigned this Nov 23, 2022
@kakaZhou719 kakaZhou719 added this to the release-0.9.0 milestone Nov 23, 2022
@Stevent-fei Stevent-fei linked a pull request Nov 28, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Category issues or PRs related to feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants