英文:
I have a problem with deploy rancher on aws eks
问题
Here's the translation of the non-code part of your text:
问候大家:
我在AWS EKS上部署Rancher时遇到问题,请帮助我找出无法部署Rancher的原因。
以下是我部署Rancher的步骤:
-
创建AWS EKS集群
-
使用Helm安装Cert-Manager
-
部署Rancher
我对如何在Chrome中访问dograbbit.org感到困惑,似乎没有CLASS。我想访问dograbbit.org,请帮助我。
请注意,代码部分未被翻译。如果您需要关于代码的帮助,请提出具体问题。
英文:
Greeting Everyone:
I have a problem with deploy rancher on aws eks. Please help me why I can't deploy rancher .
This is my step to deploy rancher.
- create aws eks
❯ cat eksctl-install.sh
#!/bin/bash
# Debug 20220618
set -ex
# Variable
CLUSTER_NAME=tester2
VERSION=1.25
REGION=ap-northeast-1
NODEGROUP_NAME=linux
NODE_TYPE=t2.small
NODES=2
# Main()
eksctl create cluster \
--name ${CLUSTER_NAME} \
--version ${VERSION} \
--region ${REGION} \
--nodegroup-name ${NODEGROUP_NAME} \
--node-type ${NODE_TYPE} \
--nodes ${NODES}
# Show
aws eks update-kubeconfig --region ${REGION} --name ${CLUSTER_NAME}
echo "@@@@@@@@@@@@@@@@@@@@@@"
kubectl get svc
kubectl get nodes
# Slack,TG
# add your notify to make your like work smooth
- Follow helm install cert-manager
https://ranchermanager.docs.rancher.com/getting-started/quick-start-guides/deploy-rancher-manager/helm-cli
helm repo add rancher-latest https://releases.rancher.com/server-charts/latest
kubectl create namespace cattle-system
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.crds.yaml
helm repo add jetstack https://charts.jetstack.io
helm repo update
helm install cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--version v1.11.0
deploy rancher
helm install rancher rancher-stable/rancher \
--namespace cattle-system \
--set hostname=dograbbit.org \
--set bootstrapPassword=admin \
--set ingress.tls.source=letsEncrypt \
--set letsEncrypt.email=me@example.org \
--set letsEncrypt.ingress.class=nginx --set global.cattle.psp.enabled=false
k get ns
cattle-fleet-clusters-system Active 25m
cattle-fleet-local-system Active 25m
cattle-fleet-system Active 26m
cattle-global-data Active 26m
cattle-global-nt Active 26m
cattle-impersonation-system Active 26m
cattle-system Active 29m
cert-manager Active 30m
cluster-fleet-local-local-1a3d67d0a899 Active 25m
default Active 53m
fleet-default Active 26m
fleet-local Active 27m
kube-node-lease Active 53m
kube-public Active 53m
kube-system Active 53m
local Active 26m
p-hfjqf Active 26m
p-xhz55 Active 26m
❯ k get pod -n cattle-system
NAME READY STATUS RESTARTS AGE
helm-operation-bkt8t 0/2 Completed 0 12m
helm-operation-vjk7p 0/2 Completed 0 12m
rancher-7c655cfbf7-7pcg5 1/1 Running 0 14m
rancher-7c655cfbf7-g4fcx 1/1 Running 0 14m
rancher-7c655cfbf7-tb9r7 1/1 Running 0 14m
rancher-webhook-656cd8b9f-5prv8 1/1 Running 0 12m
❯ k get ing -n cattle-system
NAME CLASS HOSTS ADDRESS PORTS AGE
rancher <none> dograbbit.org 80, 443 13m
I confuse about . How can I access my dograbbit.org in chrome?
It's seem ing doesn't have CLASS.
I want to access the dog rabbit.org. Please help me.
答案1
得分: 0
只支持 eks 1.24 版本。
英文:
To date rancher will support only eks 1.24
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论