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

Add Knative Serving Queue rock and tests #29

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Pepsiqqq
Copy link

@Pepsiqqq Pepsiqqq commented Feb 25, 2025

Changes

Added rock for Knative Serving Queue. See source

Files

  • Add rockcraft.yaml
  • Add tests
  • Add tox.ini

Testing

I uploaded rock to local microk8s. Then I activated it through config.yaml in knative-serving charm from here and then run integration tests.

Status of juju status after testing

Model     Controller          Cloud/Region        Version  SLA          Timestamp
kubeflow  microk8s-localhost  microk8s/localhost  3.6.3    unsupported  14:39:26+02:00

App                   Version  Status  Scale  Charm             Channel       Rev  Address         Exposed  Message
istio-ingressgateway           active      1  istio-gateway     latest/edge  1378  10.152.183.83   no       
istio-pilot                    active      1  istio-pilot       latest/edge  1321  10.152.183.88   no       
knative-eventing               active      1  knative-eventing                  0  10.152.183.214  no       
knative-operator               active      1  knative-operator                  0  10.152.183.30   no       
knative-serving                active      1  knative-serving                   0  10.152.183.171  no       

Unit                     Workload  Agent  Address       Ports  Message
istio-ingressgateway/0*  active    idle   10.1.224.93          
istio-pilot/0*           active    idle   10.1.224.86          
knative-eventing/0*      active    idle   10.1.224.109         
knative-operator/0*      active    idle   10.1.224.110         
knative-serving/0*       active    idle   10.1.224.114         

Integration provider     Requirer                          Interface          Type     Message
istio-pilot:istio-pilot  istio-ingressgateway:istio-pilot  k8s-service        regular  
istio-pilot:peers        istio-pilot:peers                 istio_pilot_peers  peer     

Logs of passed integration tests tox -vve integration -- --model kubeflow --keep-models


============================================================================================== 7 passed in 978.14s (0:16:18) ==============================================================================================
integration: 980946 I exit 0 (980.30 seconds) /home/pepsiqqq/Projects/knative-operators> pytest --show-capture=no --log-cli-level=INFO -vvs --tb=native --model kubeflow --keep-models tests/test_bundle.py pid=460256 [tox/execute/api.py:294]
  integration: OK (980.46=setup[0.16]+cmd[980.30] seconds)
  congratulations :) (980.66 seconds)


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

Successfully merging this pull request may close these issues.

1 participant