关键词[K8S]相关搜索结果,共搜索到2291条结果

k8s 安装 kubeadmin

k8s安装kubeadminTRANSLATEwithxEnglishArabicHebrewPolishBulgarianHindiPortugueseCatalanHmongDawRomanianChineseSimplifiedHungarianRussianChineseTraditionalIndonesianSlovakCzechItalianSlovenianDanishJapaneseSpanishDutchKlingonSwedishEnglishKoreanThaiEstonianLatvianTurkishFinnishLithuanianUkrainianFrench

查看当前看k8s集群支持的版本命令

nsadmissionregistration.k8s.io/v1admissionregistration.k8s.io/v1beta1apiextensions.k8s.io/v1apiextensions.k8s.io/v1beta1apiregistration.k8s.io/v1apiregistration.k8s.io/v1beta1apps/v1authentication.k8s.io/v1authentication.k8s.io/v1beta1authorization.k8s.io/v1authorization.k8s.io/v1beta1autoscaling/v

LVM2 之 缩减逻辑卷

root@k8s-master:~#e2fsck-f/dev/data-vg/data-lvroot@k8s-master:~#resize2fs/dev/data-vg/data-lv10Groot@k8s-master:~#lvreduce-L10G/dev/data-vg/data-lvroot@k8s-master:~#fdisk-lroot@k8s-master:~#mount/dev/data-vg/data-lv/data/root@k8s-master:~#df-h

38 8s 镜像更新和回滚

k8s镜像更新和回滚#执行更新nginx操作[root@k8s-master01~]#kubectlsetimagedeploynginxnginx=nginx:787977da--record#查看历史版本[root@k8s-master01~]#kubectlrollouthistorydeploynginx#回滚到上一个版本[root@k8s-master01~]#kubectlrolloutundodeploynginx[root@k8s-master01~]#kubectlgetpo[root@k8s-master01~]#kubectlgetdeploynginx-oyaml|gr

helm安装

d64/[root@k8s-master01linux-amd64]#cphelm/usr/local/bin/[root@k8s-master01linux-amd64]#chmoda+x/usr/local/bin/helm[root@k8s-master01linux-amd64]#[root@k8s-master01helm]#vimrbac.yamlapiVersion:v1kind:ServiceAccountmetadata:name:tillernamespace:kube-system---apiVersion:rbac.authorization.k8s.io/v1beta

helm 修改repo源

[root@k8s-master01~]#helmreporemovestable"stable"hasbeenremovedfromyourrepositories[root@k8s-master01~]#helmrepoaddstablehttps://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts另外一个helmrepoaddstablehttp://mirror.azure.cn/kubernetes/charts/"stable"hasbeenaddedtoyourrepositories[root@k8s-master01~]#helm

k8s的tomcat多pod session会话保持配置

10.98:30008/hostname;echo;donespring-k8s-7db85b44fc-4d9xgspring-k8s-7db85b44fc-4d9xgspring-k8s-7db85b44fc-4d9xgspring-k8s-7db85b44fc-4d9xgspring-k8s-7db85b44fc-4d9xgspring-k8s-7db85b44fc-4d9xgspring-k8s-7db85b44fc-4d9xgspring-k8s-7db85b44fc-4d9xgspring-k8s-7db85b44fc-4d9xgspring-k8s-7db85b44fc-4d9xg

haproxy启动失败

l3rise5[root@k8s-ha1~]#检查状态systemctlstatushaproxy.service查看messages日志确认失败原因~]#less/var/log/messagesJan2323:13:18k8s-ha1systemd:Unithaproxy.serviceenteredfailedstate.Jan2323:13:18k8s-ha1systemd:haproxy.servicefailed.Jan2323:18:53k8s-ha1systemd:StartedHAProxyLoadBalancer.Jan2323:18:53k8s-ha1haproxy-s

k8s 执行 ingress yaml 文件报错: error when creating "ingress-myapp.yaml": Internal error occurred: failed calling webhook

l]#kubectldelete-AValidatingWebhookConfigurationingress-nginx-admissionvalidatingwebhookconfiguration.admissionregistration.k8s.io"ingress-nginx-admission"deleted[root@k8s-master01baremetal]##恢复正常[root@k8s-master01baremetal]#kubectlapply-fingress-test.yamlingress.networking.k8s.io/ngress-testcreated

Flink源码阅读 - 日进斗经

2022-01-04Flink源码阅读-K8s上部署session模式的集群(内部细节)Flink源码阅读-K8s上部署session模式的集群(入口配置)

使用kind 部署k8s in docker

安装gomodule模式goinstallsigs.k8s.io/kind@latest创建集群kindcreatecluster效果参考架构参考资料https://kind.sigs.k8s.io/https://github.com/kubernetes-sigs/kind

9、二进制安装K8s之增加node

二进制安装K8s之增加node1、复制文件,要部署几台就直接复制即可#二进制文件scp/data/k8s/bin/{kubelet,kube-proxy}root@192.168.100.171:/data/k8s/bin/scp/data/k8s/bin/{kubelet,kube-proxy}root@192.168.100.172:/data/k8s/bin/scp/data/k8s/bin/{kubelet,kube-proxy}root@192.168.100.173:/data/k8s/bin/#systemd启动文件scp/usr/lib/systemd/system/{kube

20--Deployment常规操作

ot@k8s-m-01k8s]#kubectleditdeployments.appstest1-deploydeployment.apps/test1-deployedited[root@k8s-m-01k8s]#kubectlgetpods-owideNAMEREADYSTATUSRESTARTSAGEIPtest1-deploy-76684b764-zwmx21/1Running02m49s10.244.2.102k8s-n-02<none><none>二、Deployment应用回滚1、查看更新的版本#为了实验清楚,先删掉[root@k8s-m-01k8s]#k

k8s linux win10

#linuxhttps://github.com/wise2c-devops/breeze/#windowshttps://github.com/AliyunContainerService/k8s-for-docker-desktop

k8s v1.21.9集群安装带认证的elk 6.8.18

环境:k8s:v1.21.9三节点,三master,可看成互为主从elk:6.8.18

kubeadm join 超时报错 error execution phase kubelet-start: error uploading crisocket: timed out waiting for the condition

问题分析:可能是之前加入过k8s解决方法:kubeadmreset之后重新加入即可。

K8S创建Deployment,StatefulSet报错:missing required field "selector" in io.k8s.api.apps.v1.StatefulSetSpec; if you choose to ignore these errors, turn validation off with --validate=false

v1报错信息:[root@k8s-masterrabbitmq-cluster-on-k8s]#kubectlapply-frabbitmq_statefulsets.yamlservice/rabbitmqcreatedconfigmap/rabbitmq-configcreatederror:unabletorecognize"rabbitmq_statefulsets.yaml":nomatchesforkind"StatefulSet"inversion"apps/v1beta1"[root@k8s-masterrabbitmq-cluster-on-k8s]#virabbitmq_

k8s pod的nodeName指定

deName:k8s-node01containers:-image:nginxname:nginx启动服务[root@k8s-masterpod]#kubectlapply-fkubelet_pod.yamldeployment.apps/webcreated验证是否在node01[root@k8s-masterpod]#kubectlgetpods-owideNAMEREADYSTATUSRESTARTSAGEIPNODENOMINATEDNODEREADINESSGATESweb-768c9b7466-s7whv1/1Running0116s10.244.85.213k8s-node01

kubernetes 之 top使用(k8s)

orization.k8s.io/aggregate-to-admin:"true"rbac.authorization.k8s.io/aggregate-to-edit:"true"rbac.authorization.k8s.io/aggregate-to-view:"true"name:system:aggregated-metrics-readerrules:-apiGroups:-metrics.k8s.ioresources:-pods-nodesverbs:-get-list-watch---apiVersion:rbac.authorization.k8s.io/v1kind

kubernetes存储

nstall-k8s]#mkdirvolume[root@k8s-master01install-k8s]#cdvolume/[root@k8s-master01volume]#lltotal0[root@k8s-master01volume]#vimem.yaml[root@k8s-master01volume]#kubectlapply-fem.yamlpod/test-pdcreated[root@k8s-master01volume]#kubectlgetpodNAMEREADYSTATUSRESTARTSAGEtest-pd1/1Running014s[root@k8s-master

1 2 3 4 5 6 7 8 9 10 下一页