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

wasm deploy can not create envoyfilter #266

Open
junji2 opened this issue Jun 19, 2021 · 1 comment
Open

wasm deploy can not create envoyfilter #266

junji2 opened this issue Jun 19, 2021 · 1 comment
Labels
question Further information is requested

Comments

@junji2
Copy link

junji2 commented Jun 19, 2021

istio version 1.9.3
kubernetes version 1.20.4
operator version quay.io/solo-io/wasme:0.0.32

filterDeployment.yaml:

apiVersion: wasme.io/v1
kind: FilterDeployment
metadata:
  name: myfilter
  namespace: nginx
spec:
  deployment:
    istio:
      kind: Deployment
  filter:
    image: webassemblyhub.io/qiujj/header_test:v0.2

after I run the command:

k apply -f filterDeployment.yaml

wasme operate log:

time="2021-06-19T05:57:34Z" level=warning msg="event err: expected 1 image-ready events for image webassemblyhub.io/qiujj/header_test:v0.2, only found map[]"
time="2021-06-19T05:57:35Z" level=warning msg="event err: expected 1 image-ready events for image webassemblyhub.io/qiujj/header_test:v0.2, only found map[]"
time="2021-06-19T05:57:36Z" level=warning msg="event err: expected 1 image-ready events for image webassemblyhub.io/qiujj/header_test:v0.2, only found map[]"
time="2021-06-19T05:57:38Z" level=warning msg="event err: expected 1 image-ready events for image webassemblyhub.io/qiujj/header_test:v0.2, only found map[]"
time="2021-06-19T05:57:38Z" level=warning msg="event err: expected 1 image-ready events for image webassemblyhub.io/qiujj/header_test:v0.2, only found map[]"
time="2021-06-19T05:57:40Z" level=warning msg="event err: expected 1 image-ready events for image webassemblyhub.io/qiujj/header_test:v0.2, only found map[]"
time="2021-06-19T05:57:40Z" level=info msg="cleaning up cache events for image webassemblyhub.io/qiujj/header_test:v0.2"
time="2021-06-19T05:57:40Z" level=info msg="updated workload sidecar annotations" filter="id:\"myfilter.nginx\" image:\"webassemblyhub.io/qiujj/header_test:v0.2\" rootID:\"2021-06-19header-test\" " workload=nginx-sample-server-v1

it stopped at 'updated workload sidecar annotations' and did not connitue to 'created Istio EnvoyFilter resource '

Have you ever encountered this situation

@junji2 junji2 added the question Further information is requested label Jun 19, 2021
@junji2
Copy link
Author

junji2 commented Jun 19, 2021

╰─$ kubectl get filterdeployments.wasme.io --all-namespaces -o yaml
apiVersion: v1
items:
- apiVersion: wasme.io/v1
  kind: FilterDeployment
  metadata:
    annotations:
      kubectl.kubernetes.io/last-applied-configuration: |
        {"apiVersion":"wasme.io/v1","kind":"FilterDeployment","metadata":{"annotations":{},"name":"myfilter","namespace":"nginx"},"spec":{"deployment":{"istio":{"kind":"Deployment"}},"filter":{"image":"webassemblyhub.io/qiujj/header_test:v0.2"}}}
    creationTimestamp: "2021-06-19T05:57:03Z"
    generation: 1
    managedFields:
    - apiVersion: wasme.io/v1
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:annotations:
            .: {}
            f:kubectl.kubernetes.io/last-applied-configuration: {}
        f:spec:
          .: {}
          f:deployment:
            .: {}
            f:istio:
              .: {}
              f:kind: {}
          f:filter:
            .: {}
            f:image: {}
      manager: kubectl-client-side-apply
      operation: Update
      time: "2021-06-19T05:57:03Z"
    name: myfilter
    namespace: nginx
    resourceVersion: "8302772"
    uid: a6963834-123d-4cb5-99fb-4d23685bd903
  spec:
    deployment:
      istio:
        kind: Deployment
    filter:
      image: webassemblyhub.io/qiujj/header_test:v0.2
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant