logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

K8S报错——The connection to the server localhost:8080 was refused

文章目录问题描述问题解决问题描述执行kubectl get pod报错The connection to the server localhost:8080 was refused - did you specify the right host or port?问题解决出现这个问题的原因是kubectl命令需要使用kubernetes-admin来运行,解决方法如下,配置环境变...

#kubernetes
k8s集群——master报错you must be logged in to the server(unauthorized)

问题描述K8S集群3个master,证书文件一样,一个master正常,其他两个master有问题:输入kubectl get nodes 或者 kubectl get po –all-namespaces 都是报报错You must be logged in to the server(unauthorized)解决方法集群如果使用管理员安装:export KUBECONFIG=/etc...

#k8s
python-邮件发送及问题解决

python邮件发送功能直接上代码#!/usr/bin/python# -*- coding: UTF-8 -*-import smtplibfrom email.MIMEText import MIMETextfrom email.header import Headermail_host="mail.picclife.com"mail_user="devops-notify"mail_pass

到底了