-
Notifications
You must be signed in to change notification settings - Fork 747
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1578 from pixiake/release-3.1-upgrade
Support for automatic upgrade
- Loading branch information
Showing
9 changed files
with
70 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
--- | ||
|
||
ks_version: v3.0.0 | ||
|
||
kubernetes_ca_crt: "{{ kube_cert_dir }}/ca.crt" | ||
kubernetes_ca_key: "{{ kube_cert_dir }}/ca.key" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
--- | ||
- name: Monitoring | Installing thanosruler | ||
shell: > | ||
{{ bin_dir }}/kubectl apply -f {{ kubesphere_dir }}/prometheus/thanosruler | ||
{{ bin_dir }}/kubectl apply -f {{ kubesphere_dir }}/prometheus/thanosruler | ||
- name: Monitoring | Importing alerting status | ||
shell: > | ||
{{ bin_dir }}/kubectl patch cc ks-installer | ||
--type merge | ||
-p '{"status": {"alerting": {"status": "enabled", "enabledTime": "{{ lookup('pipe','date +%Y-%m-%dT%H:%M:%S%Z') }}"}}}' | ||
-n kubesphere-system | ||
register: import | ||
failed_when: "import.stderr and 'Warning' not in import.stderr" | ||
until: import is succeeded | ||
retries: 5 | ||
delay: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters