logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ingress白名单(traefik1.7)

1、修改nginx代理client地址server {listen80;# 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

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多集群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.

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/k

#etcd
    共 11 条
  • 1
  • 2
  • 请选择