Skip to content

Commit

Permalink
use containerd as runtime by default in kubernetes v1.24
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed May 5, 2022
1 parent 4318c42 commit 236ee04
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 22 deletions.
2 changes: 1 addition & 1 deletion data/statistics/diskinfo.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
32
47
2 changes: 1 addition & 1 deletion data/statistics/meminfo.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4
3
13 changes: 0 additions & 13 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# Version 0.8.1 Feature Preview:

<br>

We will add the following features in 0.8.1 version:

* ...
* ...


<br>



# Version 0.8.0 Feature Preview:

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func main() {

// Set the version number and release date of Kube-Install.
const (
Version string = "v0.8.0-beta2"
ReleaseDate string = "4/13/2022"
Version string = "v0.8.0"
ReleaseDate string = "5/5/2022"
CompatibleK8S string = "1.18, 1.19, 1.20, 1.21, 1.22, 1.23, and 1.24"
CompatibleOS string = "CentOS linux 7, CentOS linux 8, RHEL 7, RHEL 8, Ubuntu 20, and SUSE 15"
)
Expand Down
2 changes: 1 addition & 1 deletion static/html/index.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@

<div class="g_6">
<div class="widget_header">
<h4 class="widget_header_title wwIcon i_16_pie">{{if eq .Lang "cn"}}Kubernetes集群节点数量Top5{{else}}Top 5 Number of Kubernetes Nodes{{end}}</h4>
<h4 class="widget_header_title wwIcon i_16_pie">{{if eq .Lang "cn"}}Kubernetes集群Node数量Top5{{else}}Top 5 Number of Kubernetes Nodes{{end}}</h4>
</div>
<div class="widget_contents">
<div id="k8snodenum" style="width: 380px;height:165px;"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ ExecStartPre=/usr/local/bin/resolvinit.sh
ExecStart=/usr/local/bin/kubelet \
--bootstrap-kubeconfig=/etc/kubernetes/ssl/bootstrap.kubeconfig \
--root-dir={{k8s_install_home}}/kubernetes/kubelet \
--network-plugin=cni \
--cni-conf-dir=/etc/cni/net.d \
--cni-bin-dir=/opt/cni/bin/ \
--cert-dir=/etc/kubernetes/ssl \
--kubeconfig=/etc/kubernetes/ssl/kubelet.kubeconfig \
--config=/etc/kubernetes/kubelet.config.json \
Expand Down
3 changes: 2 additions & 1 deletion sys/0x00000000addons/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@
src: "../templates/2.dashboard/{{item}}"
dest: "{{k8s_install_home}}/addons/dashboard/{{item}}"
with_items:
- kubernetes-dashboard-admin-rbac.yaml
- kubernetes-dashboard-rbac-admin.yaml
- kubernetes-dashboard-rbac-minimal.yaml
- kubernetes-dashboard-secret.yaml
- copy:
src: "../templates/2.dashboard/{{k8sdashboardshell}}.sh"
dest: "{{k8s_install_home}}/temp/{{k8sdashboardshell}}.sh"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: v1
kind: Secret
metadata:
annotations:
kubernetes.io/service-account.name: default
name: default
namespace: kube-system
type: kubernetes.io/service-account-token

---

apiVersion: v1
kind: Secret
metadata:
annotations:
kubernetes.io/service-account.name: kubernetes-dashboard-admin
name: kubernetes-dashboard-admin
namespace: kube-system
type: kubernetes.io/service-account-token


0 comments on commit 236ee04

Please sign in to comment.