Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request help: ApisixUpstream is not created after kubectl apply #2322

Closed
rizalalfarizi123 opened this issue Nov 14, 2024 · 0 comments
Closed

Comments

@rizalalfarizi123
Copy link

rizalalfarizi123 commented Nov 14, 2024

Issue description

i try to create ApisixUpstream with provided example from doc:

apiVersion: apisix.apache.org/v2
kind: ApisixUpstream
metadata:
  name: httpbin-upstream
spec:
  externalNodes:
  - type: Domain
    name: httpbin.org

then kubectl apply -f upstream.yaml
resource created but the upstream is not created, i try to check it via dashboard and admin-api but it doesn't show the upsream

output of describe command

kubectl describe au httpbin-upstream 

Name:         httpbin-upstream
Namespace:    default
Labels:       <none>
Annotations:  <none>
API Version:  apisix.apache.org/v2
Kind:         ApisixUpstream
Metadata:
  Creation Timestamp:  2024-11-14T08:06:06Z
  Generation:          1
  Resource Version:    181392107
  UID:                 519dd0dd-e532-46b3-b4a2-d31c3ad5566f
Spec:
  External Nodes:
    Name:  httpbin.org
    Type:  Domain
Events:    <none>

idk why but if i use backends property directly with ApisixRoute CRD it created the upstream.
also, there are no log in apisix-ingress-controller related to apisix_upstream.go

Environment

  • your apisix-ingress-controller version (output of apisix-ingress-controller version --long):apisix-ingress-controller:1.8.2-debian-12-r16
  • your Kubernetes cluster version (output of kubectl version):
    Client Version: v1.28.2
    Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
    Server Version: v1.30.5-gke.1014003
  • if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a): -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant