终于解决-你需要来自administrators的权限才能对此文件夹进行更改 比如我想删除目录是target目录,于是报错需要某某权限,可是这明明是我在这个用户下建的啊,为啥就删除不掉1、打开任务管理器右击下方任务栏后者ctrl+alt+delete可以看到2、打开资源监视器3、cpu,拉到下面查询终结进程就可以删除了原因:基本都是被占用了其他:如果你对windows命令比较熟,可以在cmd执行命令
k8s缩容pod停止顺序 顺序如下:1. Unassigned < assigned 2. PodPending < PodUnknown < PodRunning 3. Not ready < ready 4. Been ready for empty time < less time < more time 5. Pods with containers with higher restart counts < lower restart counts 6. Emp
etcd数据备份与恢复 测试集群节点:192.168.0.105192.168.0.106192.168.0.1071、创建目录mkdir -p /data/etcd_backup_dir/2、略3、备份(暂存)ETCDCTL_API=3 etcdctl --cacert=/etc/kubernetes/ssl/ca.pem --cert=/etc/kubernetes/ssl/etcd.pem --key=/etc/kubernetes/ssl/etcd-key.pem --endpoints=https://
k8s安装traefik1.7.30 404 k8s1.17安装traefik1.7.6没有问题,k8s1.19安装traefik1.7.30出现问题:1、通过ingress访问域名访问服务报错404,经过排查发现服务没有问题,查看k8s文档发现,ingress需要指定ingressclass(确定ingress contraller,不指定也行,创建一个默认的)[root@k8s-master aws]# kubectl --kubeconfig config get ing -n prodNAME
windows查看端口占用,杀死进程 查看某个进程 :netstat -ano|findstr 8080查看8080端口被哪个线程名称占用:tasklist | findstr 4628(占用8080端口的线程所在PID)干掉此进程: taskkill /F /PID 4628列出当前所有运行进程 :tasklist;杀死某个进程 : taskkill /F /IM httpd.exe ...
TypeError: __init__() got an unexpected keyword argument ‘io_loop‘ 现象:运行python文件报错TypeError: __init__() got an unexpected keyword argument 'io_loop'原因:默认安装最新版本tornado,而最版本的已经删除了io_loop,使用解决:安装低版本tornadopip uninstall tornadopip install tornado==4.1 结果: 重新运行,报错没有出现参考:https://www.geek-book.com/src/docs/tornadoweb/t
Exiting: error loading config file: config file (“/opt/filebeat/filebeat.yml“) can only be writable k8s 安装filebeat挂载配置文件报错1、安装filebeat挂载配置文件,报错如下Exiting: error loading config file: config file ("/opt/filebeat/filebeat.yml") can only be writable by the owner but the permissions are "-rwxrwxrwx" (to fix the permissions use: 'chmod go-w /opt/filebeat/file
UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xa5 in position 957: illegal multibyte sequence 使用pipreqs 报错如下:pipreqs ./UnicodeDecodeError: 'gbk' codec can't decode byte 0xa5 in position 957: illegal multibyte sequence做个记录把,主要是因为编码问题,
jenkins升级导致csrf问题报错403 问题:由于将jenkins由2.204升级到2.249,调用接口报错,错误如下2020-10-29 06:11:32.708+0000 [id=9] WARNING hudson.security.csrf.CrumbFilter#doFilter: Found invalid crumb 62600442318862ac61c4c41c1f5de02c60b5de666a13a04d1212be85c8e64a70. If you are calling this URL with a script,
k8s服务拉取镜像swr报错解决 1、生成passwordprintf AK| openssl dgst -binary -sha256 -hmac SK| od -An -vtx1 | sed 's/[ ]//g' | sed 'N;s///'2、创建secretkubectl create secret docker-registry regsecret --docker-server=swr.cn-east-3.myhuaweicloud.com --docker-username=cn-east-3@AK--dock
ingress白名单(traefik1.7) 1、修改nginx代理client地址server { listen 80; # server_name _; location / { proxy_pass 192.168.254.7:23456; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forward
The ClusterRoleBinding "kafka-operator" is invalid: roleRef: Invalid value: rbac.RoleRef{APIGroup:"r 创建clusterrolebinding报错,如下The ClusterRoleBinding "kafka-operator" is invalid: roleRef: Invalid value: rbac.RoleRef{APIGroup:"rbac.authorization.k8s.io", Kind:"ClusterRole", Name:"kafka-operator"}: can...
k8s operator redis-operator实例 1.创建operator-sdk new redis-operator-test2.添加apioperator-sdk add api --api-version=app.example.com/v1alpha1 --kind=RedisService3.添加controlleroperator-sdk add controller --api-version=app.example.c...
xcat不能访问 http的443端口没有监听安装yum install mod_ssl解决安装后重启httppd接着报错没有权限You don’t have permission to access /xcatws on this server.修改/etc/httpd/conf/httpd.conf<Directory />AllowOverride none#Require ...
批量获取代理ip地址 #coding=utf-8#作者:须尽欢#收集代理ip地址import urllibimport urllib2import refrom bs4 import BeautifulSoupimport osimport socketuser_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)'headers = { ...