logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

jenkins升级导致csrf问题报错403

问题:由于将jenkins由2.204升级到2.249,调用接口报错,错误如下2020-10-29 06:11:32.708+0000 [id=9]WARNINGhudson.security.csrf.CrumbFilter#doFilter: Found invalid crumb 62600442318862ac61c4c41c1f5de02c60b5de666a13a04d1212be85

coredns不断重启, [FATAL] plugin loop

1 coredns不断重启查看日志:[root@master1 ~]# kubectl logs coredns-5dc5b997f9-2762d-n kube-system.:532018/12/05 02:43:44 [INFO] CoreDNS-1.2.22018/12/05 02:43:44 [INFO] linux/amd64, go1.11, eb51e8bCoreDNS...

#k8s
k8s服务拉取镜像swr报错解决

1、生成passwordprintf AK| openssl dgst -binary -sha256 -hmac SK| od -An -vtx1 | sed 's/[ \n]//g' | sed 'N;s/\n//'2、创建secretkubectl create secret docker-registry regsecret --docker-server=swr.cn-east-3.my

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 --kubecon

k8s多集群go-client实现

k8s多集群go-client实现背景操作方法核心代码@me:228417442@qq.com背景通常我们使用k8s go-client进行基于k8s的容器平台开发,go-client 使用方法GetOutClusterClient读取本地kubeconfig实现,但是多集群这样操作不太方便。操作方法数据库存储多集群信息,包括masterIP,kubeconfig和元数据信息(扩展);...

#k8s
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...

#k8s#redis
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 f

#docker#k8s
k8s容器使用内存

需求总是奇葩k8s容器使用内存,yaml如下apiVersion: apps/v1beta1kind: Deploymentmetadata:name: nginx-deploymentspec:replicas: 1template:metadata:labels:app: nginxspec:cont...

#k8s#linux
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.

    共 12 条
  • 1
  • 2
  • 请选择