Slackbot
04/14/2023, 6:38 AM์ต๋๋ฏผ
04/14/2023, 6:39 AM์ต๋๋ฏผ
04/14/2023, 6:50 AMJiang
04/14/2023, 7:27 AMJiang
04/14/2023, 7:28 AM์ต๋๋ฏผ
04/14/2023, 7:31 AMJiang
04/14/2023, 7:40 AM์ต๋๋ฏผ
04/14/2023, 7:45 AMkubectl -n yatai-deployment logs -f deploy/yatai-deployment
as below
$ kubectl -n yatai-deployment logs -f job/yatai-deployment-default-domain
time="2023-04-14T06:34:15Z" level=info msg="Creating ingress default-domain- to get a ingress IP automatically"
time="2023-04-14T06:34:15Z" level=info msg="Waiting for ingress default-domain-2xp4m to be ready"
time="2023-04-14T06:34:45Z" level=info msg="Ingress default-domain-2xp4m is ready"
time="2023-04-14T06:34:45Z" level=info msg="you have not set the domain-suffix in the network config, so use magic DNS to generate a domain suffix automatically: `***.***.***.**.<http://sslip.io|sslip.io>`, and set it to the network config"
$ kubectl -n yatai-deployment logs -f deploy/yatai-deployment
Found 2 pods, using pod/yatai-deployment-84b5584ff9-mhwb7
1.6814581142693202e+09 INFO setup starting manager {"bento deployment namespaces": ["yatai"]}
1.6814581145232673e+09 INFO controller-runtime.metrics Metrics server is starting to listen {"addr": "127.0.0.1:8080"}
...
...
...
1.6814581299666548e+09 ERROR controller-runtime.source if kind is a CRD, it should be installed before calling Start {"kind": "HorizontalPodAutoscaler.autoscaling", "error": "no matches for kind \"HorizontalPod
Autoscaler\" in version \"autoscaling/v2beta2\""}
<http://sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1.1|sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1.1>
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.0/pkg/source/source.go:139
<http://k8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext|k8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext>
...
...
...
Jiang
04/14/2023, 7:50 AMrunners:
- name: iris_clf
resources:
limits:
cpu: "1000m"
memory: "1Gi"
requests:
cpu: "500m"
memory: "512m"
autoscaling:
maxReplicas: 4
minReplicas: 1
Jiang
04/14/2023, 7:51 AM์ต๋๋ฏผ
04/14/2023, 7:52 AM์ต๋๋ฏผ
04/14/2023, 7:56 AMyatai-deployment yatai-deployment-84b5584ff9-mhwb7 0/1 CrashLoopBackOff 4 (56s ago) 14m
yatai-deployment yatai-deployment-default-domain-jlmq7 0/1 Completed 0 79m
And, it may be caused by a similar error
$ kubectl logs yatai-deployment-84b5584ff9-mhwb7 --namespace=yatai-deployment
...
1.681458946660936e+09 ERROR controller-runtime.source if kind is a CRD, it should be installed before calling Start {"kind": "HorizontalPodAutoscaler.autoscaling", "error": "no matches for kind \"HorizontalPod
Autoscaler\" in version \"autoscaling/v2beta2\""}
Jiang
04/14/2023, 7:56 AMJiang
04/14/2023, 8:04 AM์ต๋๋ฏผ
04/14/2023, 8:05 AM$ kubectl version
Client Version: <http://version.Info|version.Info>{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:44:59Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: <http://version.Info|version.Info>{Major:"1", Minor:"26", GitVersion:"v1.26.3", GitCommit:"9e644106593f3f4aa98f8a84b23db5fa378900bd", GitTreeState:"clean", BuildDate:"2023-03-15T13:33:12Z", GoVersion:"go1.19.7", Compiler:"gc", Platform:"linux/amd64"}
Jiang
04/14/2023, 9:34 AM์ต๋๋ฏผ
04/14/2023, 9:35 AMJiang
04/14/2023, 9:38 AM์ต๋๋ฏผ
04/14/2023, 9:39 AM์ต๋๋ฏผ
04/14/2023, 12:08 PM--kubernetes-version=v1.20.0
Thank you for your support! I highly appreciate you :)Jiang
04/14/2023, 12:11 PM