This repository was archived by the owner on Jun 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +17
-6
lines changed
inventory/default/group_vars/all
baseline_ansible/infrastructure
telemetry/cadvisor/templates Expand file tree Collapse file tree 8 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ telemetry_statsd_exporter_tcp_port: 8125
281281telemetry_cadvisor_enable : true
282282
283283# Telegraf
284- telemetry_telegraf_enable : true
284+ telemetry_telegraf_enable : false
285285telemetry_telegraf_port : 9105
286286# ##############
287287
Original file line number Diff line number Diff line change 33---
44golang_version : 1.16
55golang_download_name : " go{{ golang_version }}.linux-amd64.tar.gz"
6- golang_download_url_base : " https://dl .google.com/go /"
6+ golang_download_url_base : " https://golang .google.cn/dl /"
77golang_download_url : " {{ golang_download_url_base }}{{ golang_download_name }}"
88golang_download_dest : " {{ project_dir }}/golang/{{ golang_download_name }}"
99golang_download_checksum : " sha256:013a489ebb3e24ef3d915abe5b94c3286c070dfe0818d5bca8108f1d6e8440d2"
Original file line number Diff line number Diff line change 4545 mode : a=rx,u+w
4646 become : yes
4747 loop : " {{ golang_default_exports + golang_additional_exports }}"
48+
49+ - name : set goproxy for PRC
50+ shell : " source /etc/profile && go env -w GO111MODULE=on && go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct"
Original file line number Diff line number Diff line change 2020 name : infrastructure/install_dependencies
2121 vars :
2222 install_dependencies : " {{ hardware_details_tools }}"
23+
24+ - name : set gitconfig to speed github access in PRC
25+ blockinfile :
26+ path : " {{ ansible_env.HOME }}/.gitconfig"
27+ block : |
28+ [url "https://gitclone.com/github.com/"]
29+ insteadOf = https://github.com/
Original file line number Diff line number Diff line change 44apiVersion: kubeadm.k8s.io/v1beta2
55kind: ClusterConfiguration
66kubernetesVersion: v{{ _kubernetes_version }}
7+ imageRepository: registry.aliyuncs.com/google_containers
78controllerManager:
89 extraArgs:
910 terminated-pod-gc-threshold: "600"
Original file line number Diff line number Diff line change 22# Copyright (c) 2019-2020 Intel Corporation
33
44---
5- _kubernetes_repository_url : " deb http ://apt.kubernetes.io / kubernetes-xenial main"
5+ _kubernetes_repository_url : " deb https ://mirrors.aliyun.com/kubernetes/apt / kubernetes-xenial main"
66_kubernetes_repository_keys :
7- - https://packages.cloud.google. com/apt/doc/apt-key.gpg
7+ - https://mirrors.aliyun. com/kubernetes /apt/doc/apt-key.gpg
88_kubernetes_ver_separator : " ="
99_kubernetes_ver_suffix : " -00"
Original file line number Diff line number Diff line change 22# Copyright (c) 2019-2022 Intel Corporation
33
44---
5- _nfd_image_name : " k8s.gcr.io/nfd /node-feature-discovery"
5+ _nfd_image_name : " registry.cn-shanghai.aliyuncs.com/joez /node-feature-discovery"
66_nfd_tag : " v0.10.1"
77
88_nfd_chart_dir : " {{ ne_helm_charts_default_dir }}/node-feature-discovery"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ component: cadvisor
88projectDir: "{{ project_dir }}"
99# cAdvisor Values
1010cadvisor:
11- image: gcr.io/cadvisor /cadvisor:v0.43.0
11+ image: registry.cn-shanghai.aliyuncs.com/joez /cadvisor:v0.43.0
1212 name: cadvisor
1313 resources:
1414 requests:
You can’t perform that action at this time.
0 commit comments