• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






会飞の鱼

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

随笔分类 -  kubernetes

1 2 3 下一页

 
基于go mod的k8s代码生成
摘要:k8s版本1.17 自定义controller实例: https://github.com/kubernetes/sample-controller 代码生成文档: https://blog.openshift.com/kubernetes-deep-dive-code-generation-cus 阅读全文
posted @ 2020-01-29 19:14 会飞の鱼 阅读(369) 评论(0) 推荐(0)
k8s自动域名添加
该文被密码保护。
posted @ 2019-09-30 17:07 会飞の鱼 阅读(1) 评论(0) 推荐(0)
k8s 代码生成
摘要:https://blog.openshift.com/kubernetes-deep-dive-code-generation-customresources/ # 代码生成的工作目录,也就是我们的项目路径$ ROOT_PACKAGE="k8s-dev/k8s-controller-custom-r 阅读全文
posted @ 2019-03-11 16:26 会飞の鱼 阅读(583) 评论(0) 推荐(0)
k8s 各种示例
摘要:https://github.com/trstringer 阅读全文
posted @ 2019-03-11 16:02 会飞の鱼 阅读(253) 评论(0) 推荐(0)
mysql-operator
摘要:https://github.com/oracle/mysql-operator 阅读全文
posted @ 2019-03-08 15:28 会飞の鱼 阅读(602) 评论(0) 推荐(0)
k8s Docker私有仓库认证
摘要:使用过K8s的小伙伴肯定会遇到一个问题,我们在使用自有的Docker仓库的时候都需要先登录用户名和密码,但是如果使用K8S怎么配置密码呢?在secret中有一个类型是docker-registry我们可以通过命令行的方式创建在获取Docker镜像时使用的用户名和密码 kubectl create s 阅读全文
posted @ 2019-03-08 14:37 会飞の鱼 阅读(2407) 评论(0) 推荐(0)
kubectl windows
摘要:https://storage.googleapis.com/kubernetes-release/release/v1.10.3/bin/windows/amd64/kubectl.exe 阅读全文
posted @ 2019-01-02 20:44 会飞の鱼 阅读(647) 评论(0) 推荐(0)
kubernetes入门之kube-proxy实现原理
摘要:https://www.cnblogs.com/xuxinkun/p/5799986.html kube-proxy service是一组pod的服务抽象,相当于一组pod的LB,负责将请求分发给对应的pod。service会为这个LB提供一个IP,一般称为cluster IP。 kube-prox 阅读全文
posted @ 2018-10-22 14:43 会飞の鱼 阅读(1059) 评论(0) 推荐(0)
k8s 调度器
摘要:https://blog.csdn.net/qq_21816375/article/details/78209605 阅读全文
posted @ 2018-09-27 15:04 会飞の鱼 阅读(162) 评论(0) 推荐(0)
k8s operator
摘要:https://coreos.com/blog/introducing-operators.html Site Reliability Engineer(SRE)是通过编写软件来运行应用程序的人员。 他们是工程师,开发人员,知道如何专门为特定应用领域开发软件。 由此产生的软件具有编程到其中的应用程序 阅读全文
posted @ 2018-09-10 19:24 会飞の鱼 阅读(5663) 评论(0) 推荐(0)
k8s 创建deployment流程
摘要:pod 创建流程https://blog.csdn.net/yan234280533/article/details/72567261 api server -> etcd -> controller manager -> etcd -> scheduler -> etcd -> kubelet d 阅读全文
posted @ 2018-09-10 11:31 会飞の鱼 阅读(1888) 评论(0) 推荐(0)
kubeadmin 部署(centos 7)
摘要:# ls /opt/cni/binbridge dhcp flannel host-device host-local ipvlan loopback macvlan portmap ptp sample tuning vlan cat > /etc/cni/net.d/10-flannel.con 阅读全文
posted @ 2018-05-26 23:36 会飞の鱼 阅读(358) 评论(0) 推荐(0)
pod优先级与抢占测试
摘要:# kubectl describe node k8s-n2Name: k8s-n2Roles: <none>Labels: beta.kubernetes.io/arch=amd64 beta.kubernetes.io/os=linux gpu_type=k20m kubernetes.io/h 阅读全文
posted @ 2018-05-22 20:28 会飞の鱼 阅读(750) 评论(0) 推荐(0)
etcd 集群恢复
摘要:七个节点,挂了5个,etcd无法访问 参考: https://coreos.com/etcd/docs/latest/op-guide/recovery.html 此次我只恢复了v3的数据 在存活的节点上 export ETCDCTL_API=3 alias etcdctl="etcdctl --e 阅读全文
posted @ 2018-05-20 17:32 会飞の鱼 阅读(405) 评论(0) 推荐(0)
minikube
摘要:# lsmod |grep kvmkvm_intel 170181 0 kvm 554609 1 kvm_intelirqbypass 13503 1 kvm systemctl start libvirtd systemctl enable libvirtd # minikube start -- 阅读全文
posted @ 2018-05-15 23:57 会飞の鱼 阅读(803) 评论(0) 推荐(0)
Flexvolume
摘要:https://kubernetes.io/docs/concepts/storage/volumes/ https://github.com/kubernetes/community/blob/master/contributors/devel/flexvolume.md example: htt 阅读全文
posted @ 2018-05-14 20:23 会飞の鱼 阅读(221) 评论(0) 推荐(0)
kubectl 获取信息
摘要:获取pod所在节点的ip kubectlget po tiller-deploy-8694f8fddc-c2rql -n kube-system -o jsonpath='{.status.hostIP}' 获取pod 所在节点的主机名 kubectl describe po tiller-depl 阅读全文
posted @ 2018-05-12 17:37 会飞の鱼 阅读(488) 评论(0) 推荐(0)
k8s 问题
摘要:kubelet: Orphaned pod "4db449f0-4eaf-11e8-94ab-90b8d042b91a" found, but volume paths are still present on disk : There were a total of 3 errors simila 阅读全文
posted @ 2018-05-08 11:07 会飞の鱼 阅读(1893) 评论(0) 推荐(0)
too few PGs per OSD (20 < min 30)
摘要:ceph osd pool set replicapool pg_num 150 ceph osd pool set replicapool pgp_num 150 阅读全文
posted @ 2018-05-07 20:36 会飞の鱼 阅读(318) 评论(0) 推荐(0)
ingress 密码验证
摘要:traefik ingress 上面的方式需要引入haprox或者nginx,多引入了一个代理转发层,其实ingress本身就提供了basic auth的支持,在ingress规则中添加额外的认证annotations即可。 首先,我们需要创建用于存储用户名和密码的htpasswd文件 然后,然后创 阅读全文
posted @ 2018-05-05 15:18 会飞の鱼 阅读(1315) 评论(0) 推荐(0)
 

1 2 3 下一页