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

etcdのメトリクス取るための設定がクラスタ構築スクリプトに入ってない #36

Open
1 task
unchama opened this issue Jun 25, 2022 · 0 comments

Comments

@unchama
Copy link
Owner

unchama commented Jun 25, 2022

現状 unc-k8s-cp-[1-3] 上のStatic Podのmanifestを直接変更しちゃってるのでクラスタ構築スクリプトに入れ込みたい

sudo vi /etc/kubernetes/manifests/etcd.yaml
spec:
  containers:
  - command:
    - etcd
    - --listen-metrics-urls=http://127.0.0.1:2381,http://<node-ip(SAN-side)>:2381

https://kubernetes.io/ja/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/#%E3%82%AF%E3%83%A9%E3%82%B9%E3%82%BF%E3%83%BC%E3%81%AE%E6%A7%8B%E7%AF%89によると、kubeadmのkind: ClusterConfigurationに書けるけど、per-nodeな値を入れないといけないので #24 待ち

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

No branches or pull requests

1 participant