简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
尝试解决:[root@master01 KubeSphere]# kubectl get apiservice只需将这个状态异常api删掉[root@master01 KubeSphere]# kubectl delete apiservice v1beta1.metrics.k8s.io apiservice.apiregistration.k8s.io "v1beta1.met...
kubectl exec -ti data-ananlysis-java-8-2kg2l-h3hn1-rg61n -c maven -n jenkins/bin/bash
通过storageClassName 将PV 和PVC 关联起来。[root@k8-master home]# cat /home/npm-pvc.yamlkind: PersistentVolumeClaimapiVersion: v1metadata:name: npm-repository-pvcnamespace: jenkinsspec:accessMo...
[root@master01 /usr/local/bin]# kubectl get crd -o=jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}' | grep "devops.kubesphere.io" s2ibuilders.devops.kubesphere.ios2ibuildertemplates.devops.kub.
在k8s 里面加域名解析hostskubectl edit configmap coredns -n kube-systemapiVersion: v1data:Corefile: |.:53 {errorshealth {lameduck 5s}ready...
[root@k8s-master ~]# kubectl get poNAMEREADYSTATUSRESTARTSAGEdata-java-9bbf8c957-jp5dl0/1CrashLoopBackOff9745 (4m28s ago)34ddata...
k8s集群中,deployment启动后没有成功创建pod,通过“kubectl describe deployment ${DEPLOY_NAME} ”,看到如下日志,只看到“ReplicaFailure True FailedCreate”,但是没有failed的原因。其实原因藏在edit deployment里面。可以通过"kubectl edit deployment "来查看...
vi /usr/lib/systemd/system/cri-docker.service[Service]Type=notifyExecStart=/usr/bin/cri-dockerd--pod-infra-container-image=registry.aliyuncs.com/google_containers/pause:3.8--container-runtim...
麻麻劈,根据这个报错一顿 ulimit -n 修改打开文件数,鸡儿报错一直在。最终修改vi /etc/sysctl.conf增加三项:fs.inotify.max_queued_events = 32768fs.inotify.max_user_instances = 65536fs.inotify.max_user_watches = 1048576当然我是k8s环境,我修改...
[root@k8s-master1 ~]# cat kubeadm-config.yamlapiVersion: kubeadm.k8s.io/v1beta3bootstrapTokens:- groups:- system:bootstrappers:kubeadm:default-node-tokentoken: abcdef.0123456789abcdefttl: 24h0m...