我的目标是在我的kubernetes集群中设置一个入口nginx。正如我猜的那样,部署看起来很有效,日志看起来很好。
NAME READY STATUS RESTARTS AGE
pod/ingress-nginx-admission-create--1-n5h28 0/1 Completed 0 4d8h
pod/ingress-nginx-admission-patch--1-czsfn 0/1 Completed 0
我有一个带有5个副本的Kubernetes ReplicaSet。我想有一个荚ID,它确实增加了每个副本,但它不应该增加,当一个荚是重新创建,因为它崩溃。
示例:
* ReplicaSet starts with 4 replicas *
* Replica 1 starts with the ID 1 *
* Replica 2 starts with the ID 2 *
* Replica 3 starts with the ID 3 *
* Replica 4 starts with the ID 4 *
* Repli
我安装了库伯内特斯,一切看起来都很好,我想。(请注意,这些都是在编辑下面的文件后的输出,然后更改为NodePort)
sudo kubectl get deployment kubernetes-dashboard -n kubernetes-dashboard
NAME READY UP-TO-DATE AVAILABLE AGE
kubernetes-dashboard 1/1 1 1 85m
和
sudo kubectl describe service kubernetes-dashb
我有一个requirements.yaml文件:
dependencies:
- name: mongodb-replicaset
# Can be found with "helm search <chart>"
version: 3.13.0
# This is the binaries repository, as documented in the GitHub repo
repository: https://kubernetes-charts.storage.googleapis.com/
我想修改mongodb-re
Kubernetes仪表板文档( )说:Kubectl will make Dashboard available at http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/.,但我在使用该URL时得到了这个结果:
{
kind: "Status",
apiVersion: "v1",
metadata: { },
status: "Failure",
message: "servi
我在Ubuntu20.04.3LTS上运行了microk8s v1.22.2。
来自/etc/hosts的输出
127.0.0.1 localhost
127.0.1.1 main
microk8s status摘录
addons:
enabled:
dashboard # The Kubernetes dashboard
ha-cluster # Configure high availability on the current node
ingress # Ingress controller