Kubernetes
1.Kubernetes安装配置
Ubuntu安装containerd
更换Ubuntu安装源
2.Kubernetes集群管理
服务质量QoS
强制重启pod
Label
测试环境管理
service+deployment+ingress+hpa
networking.k8s.io/v1
k3s
k3s脚本快速安装
k3s卸载
k3s-containerd仓库配置
rookceph
1. 安装配置
2. 管理排障
k8s中查看rookceph控制台admin密码
k3s-启用traefik仪表盘
helm
Chartmuseum
artifact hub
Helm内置对象Release相关变量
96.Ingress
ingress-nginx-annotations
97.CKA认证
98.Kubernetes开发
本文档使用 MrDoc 发布
-
+
首页
helm
# Helm ## 安装 官方脚本安装起来比较简单~~~ ``` $ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 $ chmod 700 get_helm.sh $ ./get_helm.sh ``` - 测试 - 在安装helm仓库中的应用前需要确保存在kubectl的默认配置文件`~/.kube/config`,因为helm3已经不再使用tiller也不需要init ```shell helm repo list helm search repo ``` - 添加仓库 ```shell helm repo add ${repo_name} ${repo_url} helm repo add grafana https://grafana.github.io/helm-charts ``` ## 使用 - 在helm artifact hub中查找应用 ``` helm search hub wordpress ``` - 在本地镜像仓库中查找应用 ``` helm search repo loki ``` - 使用helm安装应用 ``` helm install ${APP_NAME_YOU_WANT} ${HELM_APP_NAME} ``` - 如 ``` NAME: happy-panda LAST DEPLOYED: Tue Jan 26 10:27:17 2021 NAMESPACE: default STATUS: deployed REVISION: 1 NOTES: ** Please be patient while the chart is being deployed ** Your WordPress site can be accessed through the following DNS name from within your cluster: happy-panda-wordpress.default.svc.cluster.local (port 80) To access your WordPress site from outside the cluster follow the steps below: 1. Get the WordPress URL by running these commands: NOTE: It may take a few minutes for the LoadBalancer IP to be available. Watch the status with: 'kubectl get svc --namespace default -w happy-panda-wordpress' export SERVICE_IP=$(kubectl get svc --namespace default happy-panda-wordpress --template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}") echo "WordPress URL: http://$SERVICE_IP/" echo "WordPress Admin URL: http://$SERVICE_IP/admin" 2. Open a browser and access WordPress using the obtained URL. 3. Login with the following credentials below to see your blog: echo Username: user echo Password: $(kubectl get secret --namespace default happy-panda-wordpress -o jsonpath="{.data.wordpress-password}" | base64 --decode) ``` -
zhangky
2022年1月6日 14:20
分享文档
收藏文档
上一篇
下一篇
微信扫一扫
复制链接
手机扫一扫进行分享
复制链接
关于 MrDoc
觅思文档MrDoc
是
州的先生
开发并开源的在线文档系统,其适合作为个人和小型团队的云笔记、文档和知识库管理工具。
如果觅思文档给你或你的团队带来了帮助,欢迎对作者进行一些打赏捐助,这将有力支持作者持续投入精力更新和维护觅思文档,感谢你的捐助!
>>>捐助鸣谢列表
微信
支付宝
QQ
PayPal
Markdown文件
分享
链接
类型
密码
更新密码