... 官方文档:英文版内容更丰富一些。 https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ https://kubernetes.io/docs/tasks/run-application/horizontal-pod ...
... : - cat args: - "/etc/hosts" 查看日志: kubectl logs hostaliases-pod # Kubernetes-managed hosts file. 127.0.0.1 localhost ::1 localhost ip6-localhost ...
... 设为默认则删除此行 storageclass.beta.kubernetes.io/is-default-class: "true" provisioner: kubernetes.io/rbd # 存储类设备的供给方为 ...
... /GoogleCloudPlatform/kubernetes [Service] EnvironmentFile=-/etc/kubernetes/config EnvironmentFile=-/etc/kubernetes/controller-manager User=kube ExecStart=/usr/local/kubernetes/kube ...
... .kubernetes.io/allowedProfileNames: 'runtime/default' seccomp.security.alpha.kubernetes.io/defaultProfileName: 'runtime/default' apparmor.security.beta.kubernetes ...
... 基础代码结合ThinkPHP3.2调用kubernetes api接口来实现一些功能。 github地址: https://github.com/travisghansen/kubernetes-client-php 下载下来后将 ...
... 其他集成好的插件下面的配置默认是有的。 - job_name: kubernetes-pods scrape_interval: 1m scrape_timeout: 10s metrics_path: /metrics scheme: http kubernetes_sd_configs: - api_server: null ...
... /pipeline/steps/http_request/ 在pipeline中封装http_request 请求: src/org/devops/kubernetes.groovy package org.devops //封装HTTP请求 def HttpReq(reqType,reqUrl,reqBody ...
... .ceph.com/en/latest/rbd/rbd-kubernetes/ github地址: https://github.com/ceph/ceph-csi 参考文章: fuckcloudnative.io/posts/kubernetes-storage-using-ceph-rbd/ www ...
... subjectAltName = @alt_names [alt_names] DNS.1 = kubernetes DNS.2 = kubernetes.default DNS.3 = kubernetes.default.svc DNS.4 = kubernetes.default.svc.cluster.local DNS.5 = etcd01 ...
... set-context jenkins@kubernetes --cluster=kubernetes --user=jenkins --kubeconfig=kubeconfig kubectl config use-context jenkins@kubernetes --kubeconfig=kubeconfig 创建ClusterRole ...
... NAME TYPE DATA AGE default ceph-user-secret kubernetes.io/rbd 1 11d default default-token-cgkng kubernetes.io/service-account-token 3 22d 这些default ...
... metadata: labels: # For use as a Cluster add-on (https://github.com/kubernetes/kubernetes/tree/master/cluster/addons) # If you are NOT using this as an ...
... /secrets/kubernetes.io/serviceaccount/ca.crt # # insecure_skip_verify: true bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token # the default/kubernetes service ...
... 可以使用新用户的权限了。 kubectl config use-context qiyang@kubernetes kubectl get pods 但是这个账号只拥有当前名称空间的 ...
... user: kubernetes-admin name: kubernetes-admin@kubernetes - context: # 新账号 cluster: kubernetes user: qiyang name: qiyang@kubernetes current-context: kubernetes-admin@kubernetes kind ...
... .com/fluent/fluent-bit-kubernetes-logging/master/fluent-bit-role.yaml kubectl create -f https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/fluent-bit ...
... Pod运行在和第一个Pod相同的节点上 topologyKey: kubernetes.io/hostname #根据节点的主机名 上面的两个Pod会 ...
... 节点上,除非打上容忍污点的标签 key: node-role.kubernetes.io/master 查看文档使用 kubectl explain nodes.spec.taints ,而运行 ...
... : kubernetes github官方提供的插件:在里面可以找到metrics-server目录。 kubernetes/cluster/addons/ metrics-server部署文件位置如下: https://github.com/kubernetes/kubernetes/tree ...