You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/07 02:39:25 UTC
[GitHub] [apisix] kika-jiaxudong opened a new issue #4996: bug: 2 apisix-ingress-controller,one is normal and another always is starting
kika-jiaxudong opened a new issue #4996:
URL: https://github.com/apache/apisix/issues/4996
### Issue description
2 apisix-ingress-controller replicas,one is norma and another always is starting
### Environment
helm installation
Chart Version:
apisix-0.3.6
Apisix Version:
2.7.0
### Steps to reproduce
installation by helm
set the replicas of apisix-ingress-controller to 2
### Actual result
found one apisix-ingress-controller replica is normal and another is been rebooting.
describe pod info:
" State: Running
Started: Mon, 06 Sep 2021 22:36:55 +0000
Last State: Terminated
Reason: Error
Exit Code: 2
Started: Mon, 06 Sep 2021 16:36:54 +0000
Finished: Mon, 06 Sep 2021 22:36:54 +0000
Ready: True
Restart Count: 16
"
### Error log
[GIN] 2021/09/07 - 10:33:12 | 200 | 37.262µs | 192.168.94.37 | GET "/healthz"
2021-09-07T10:33:13+08:00 info ingress/controller.go:530 service kube-system/kube-controller-manager not found
2021-09-07T10:33:13+08:00 info ingress/controller.go:530 service kube-system/kube-scheduler not found
[GIN] 2021/09/07 - 10:33:14 | 200 | 40.64µs | 192.168.94.37 | GET "/healthz"
2021-09-07T10:33:15+08:00 info ingress/controller.go:530 service kube-system/kube-controller-manager not found
2021-09-07T10:33:15+08:00 info ingress/controller.go:530 service kube-system/kube-scheduler not found
2021-09-07T10:33:17+08:00 info ingress/controller.go:530 service kube-system/kube-controller-manager not found
2021-09-07T10:33:17+08:00 info ingress/controller.go:530 service kube-system/kube-scheduler not found
2021-09-07T10:33:19+08:00 info ingress/controller.go:530 service kube-system/kube-controller-manager not found
2021-09-07T10:33:19+08:00 info ingress/controller.go:530 service kube-system/kube-scheduler not found
2021-09-07T10:33:21+08:00 info ingress/controller.go:530 service kube-system/kube-controller-manager not found
2021-09-07T10:33:21+08:00 info ingress/controller.go:530 service kube-system/kube-scheduler not found
[GIN] 2021/09/07 - 10:33:22 | 200 | 44.393µs | 192.168.94.37 | GET "/healthz"
2021-09-07T10:33:23+08:00 info ingress/controller.go:530 service kube-system/kube-controller-manager not found
2021-09-07T10:33:23+08:00 info ingress/controller.go:530 service kube-system/kube-scheduler not found
[GIN] 2021/09/07 - 10:33:24 | 200 | 42.71µs | 192.168.94.37 | GET "/healthz"
2021-09-07T10:33:25+08:00 info ingress/controller.go:530 service kube-system/kube-controller-manager not found
2021-09-07T10:33:25+08:00 info ingress/controller.go:530 service kube-system/kube-scheduler not found
2021-09-07T10:33:27+08:00 info ingress/controller.go:530 service kube-system/kube-controller-manager not found
2021-09-07T10:33:27+08:00 info ingress/controller.go:530 service kube-system/kube-scheduler not found
2021-09-07T10:33:29+08:00 info ingress/controller.go:530 service kube-system/kube-controller-manager not found
2021-09-07T10:33:29+08:00 info ingress/controller.go:530 service kube-system/kube-scheduler not found
E0907 10:33:31.221087 1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.1/tools/cache/reflector.go:167: Failed to watch *v1.Ingress: failed to list *v1.Ingress: the server could not find the requested resource
2021-09-07T10:33:31+08:00 info ingress/controller.go:530 service kube-system/kube-controller-manager not found
2021-09-07T10:33:31+08:00 info ingress/controller.go:530 service kube-system/kube-scheduler not found
[GIN] 2021/09/07 - 10:33:32 | 200 | 38.322µs | 192.168.94.37 | GET "/healthz"
### Expected result
2 replicas normal
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kika-jiaxudong removed a comment on issue #4996: bug: 2 apisix-ingress-controller,one is normal and another always is starting
Posted by GitBox <gi...@apache.org>.
kika-jiaxudong removed a comment on issue #4996:
URL: https://github.com/apache/apisix/issues/4996#issuecomment-913954077
> @kika-jiaxudong Please show your configuration of ingress-controller.
apiVersion: v1
data:
config.yaml: |
# log options
log_level: "info"
log_output: "stderr"
http_listen: ":8080"
enable_profiling: true
kubernetes:
kubeconfig: ""
resync_interval: "6h"
app_namespaces:
- "*"
ingress_class: "apisix"
ingress_version: "networking/v1"
apisix_route_version: "apisix.apache.org/v2beta1"
apisix:
base_url: "http://apisix-admin:9180/apisix/admin"
admin_key: "gp9pgq3lxbiZwrfbxuGuf9mtjqfjEhwr"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kika-jiaxudong commented on issue #4996: bug: 2 apisix-ingress-controller,one is normal and another always is starting
Posted by GitBox <gi...@apache.org>.
kika-jiaxudong commented on issue #4996:
URL: https://github.com/apache/apisix/issues/4996#issuecomment-913954077
> @kika-jiaxudong Please show your configuration of ingress-controller.
apiVersion: v1
data:
config.yaml: |
# log options
log_level: "info"
log_output: "stderr"
http_listen: ":8080"
enable_profiling: true
kubernetes:
kubeconfig: ""
resync_interval: "6h"
app_namespaces:
- "*"
ingress_class: "apisix"
ingress_version: "networking/v1"
apisix_route_version: "apisix.apache.org/v2beta1"
apisix:
base_url: "http://apisix-admin:9180/apisix/admin"
admin_key: "gp9pgq3lxbiZwrfbxuGuf9mtjqfjEhwr"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] kika-jiaxudong commented on issue #4996: bug: 2 apisix-ingress-controller,one is normal and another always is starting
Posted by GitBox <gi...@apache.org>.
kika-jiaxudong commented on issue #4996:
URL: https://github.com/apache/apisix/issues/4996#issuecomment-913955000
> @kika-jiaxudong Please show your configuration of ingress-controller.
apiVersion: v1
data:
config.yaml: |
# log options
log_level: "info"
log_output: "stderr"
http_listen: ":8080"
enable_profiling: true
kubernetes:
kubeconfig: ""
resync_interval: "6h"
app_namespaces:
- "*"
ingress_class: "apisix"
ingress_version: "networking/v1"
apisix_route_version: "apisix.apache.org/v2beta1"
apisix:
base_url: "http://apisix-admin:9180/apisix/admin"
admin_key: "aaaaaaaaaaaaaaaaaaaaaaaaaaa"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] gxthrj commented on issue #4996: bug: 2 apisix-ingress-controller,one is normal and another always is starting
Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #4996:
URL: https://github.com/apache/apisix/issues/4996#issuecomment-913951867
@kika-jiaxudong Please show your configuration of ingress-controller.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org