Skip to content

qist/k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 3, 2025
ff35a7e · Mar 3, 2025
Jun 20, 2022
May 13, 2022
May 13, 2022
Sep 16, 2022
May 21, 2020
Aug 12, 2022
Jan 10, 2025
May 13, 2022
May 13, 2022
Dec 14, 2022
Mar 3, 2025
Nov 26, 2024
Dec 15, 2023

Repository files navigation

项目说明

YAMLFormatspecification 项目 K8S yaml 参数说明

containerd K8S 容器运行时部署 ansible 模式部署

dockerfile 一些常见的dockerfile 文件

ipv4andipv6 K8S 双栈部署脚本 生成ansible 可部署脚本

k8s-kernel-sysctl K8S 宿主机相关优化

k8s-yaml K8S 一些常规yaml

kata-containers kata-containers ansible 部署脚本

k8s-install.sh 一键自动ansible 部署 K8S 集群

kubens 命名空间切换脚本

配置污点

kubectl taint nodes  k8s-ingress-01 node-role.kubernetes.io/ingress=:NoSchedule
kubectl taint nodes  k8s-ingress-02 node-role.kubernetes.io/ingress=:NoSchedule

# 创建 label 不创建是不能部署的或者删除yaml 文件 nodeSelector项

 kubectl label nodes k8s-ingress-01  ingress=yes
 kubectl label nodes k8s-ingress-02  ingress=yes

k8s 1.26及以上的版本日志收集

# 示例
/apps/k8s/bin/kube-log-runner -log-file=/apps/k8s/log/kube-apiserver.log --also-stdout=false /apps/k8s/bin/kube-apiserver $KUBE_APISERVER_OPTS

service 需修改Type
Type=simple

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published