Skip to content

Conversation

@ChristianZaccaria
Copy link
Contributor

@ChristianZaccaria ChristianZaccaria commented Sep 17, 2025

Description

The .status.serviceURL field in the LlamaStackDistribution resource would now have the value i.e.,:

http://<service-name>.<namespace>.svc.cluster.local:<port>

Note: the pre-commit linter seems to not like the use of serviceUrl. It said to use serviceURL instead.

Verification Steps

I tested the service by:

  1. Running my own version of llama-stack-k8s-operator on OpenShift with the changes in this PR: make deploy IMG=quay.io/rh_ee_czaccari/llama-stack-k8s-operator:servicestatus4
  2. Created a sample LlamaStackDistribution.
  3. Then I ran a test pod:

kubectl run curl-test --image=quay.io/rh_ee_czaccari/curl:test5 --rm -it --restart=Never -n ollama-dist -- curl -k -v http://llamastackdistribution-sample-service.ollama-dist.svc.cluster.local:8321/v1/models

@leseb
Copy link
Collaborator

leseb commented Sep 17, 2025

@ChristianZaccaria please run pre-commit locally and repush. Thanks

Signed-off-by: ChristianZaccaria <christian.zaccaria.cz@gmail.com>
@ChristianZaccaria
Copy link
Contributor Author

ChristianZaccaria commented Sep 17, 2025

Pre-commit seems to be stuck:

pre-commit Expected — Waiting for status to be reported

@derekhiggins
Copy link
Collaborator

Pre-commit seems to be stuck:

pre-commit Expected — Waiting for status to be reported

The workflows were awaiting approval

@ChristianZaccaria
Copy link
Contributor Author

Pre-commit seems to be stuck:

pre-commit Expected — Waiting for status to be reported

The workflows were awaiting approval

Ohh I didn't know that, thanks @derekhiggins !

@derekhiggins
Copy link
Collaborator

Confirmed working in CI

serviceurl: http://llamastackdistribution-starter-sample-service.llama-stack-test.svc.cluster.local:8321

@mergify mergify bot merged commit f2e783f into llamastack:main Sep 18, 2025
6 checks passed
VaishnaviHire pushed a commit to VaishnaviHire/llama-stack-k8s-operator that referenced this pull request Sep 18, 2025
## Description

The `.status.serviceURL` field in the `LlamaStackDistribution` resource would now have the value i.e.,:
```
http://<service-name>.<namespace>.svc.cluster.local:<port>
```

Note: the pre-commit linter seems to not like the use of `serviceUrl`. It said to use `serviceURL` instead.

## Verification Steps
I tested the service by:
1. Running my own version of llama-stack-k8s-operator on OpenShift with the changes in this PR: `make deploy IMG=quay.io/rh_ee_czaccari/llama-stack-k8s-operator:servicestatus4`
2. Created a sample LlamaStackDistribution.
3. Then I ran a test pod:

>kubectl run curl-test --image=quay.io/rh_ee_czaccari/curl:test5 --rm -it --restart=Never -n ollama-dist -- curl -k -v http://llamastackdistribution-sample-service.ollama-dist.svc.cluster.local:8321/v1/models

Approved-by: leseb

Approved-by: derekhiggins
(cherry picked from commit f2e783f)
VaishnaviHire pushed a commit to VaishnaviHire/llama-stack-k8s-operator that referenced this pull request Sep 18, 2025
## Description

The `.status.serviceURL` field in the `LlamaStackDistribution` resource would now have the value i.e.,:
```
http://<service-name>.<namespace>.svc.cluster.local:<port>
```

Note: the pre-commit linter seems to not like the use of `serviceUrl`. It said to use `serviceURL` instead.

## Verification Steps
I tested the service by:
1. Running my own version of llama-stack-k8s-operator on OpenShift with the changes in this PR: `make deploy IMG=quay.io/rh_ee_czaccari/llama-stack-k8s-operator:servicestatus4`
2. Created a sample LlamaStackDistribution.
3. Then I ran a test pod:

>kubectl run curl-test --image=quay.io/rh_ee_czaccari/curl:test5 --rm -it --restart=Never -n ollama-dist -- curl -k -v http://llamastackdistribution-sample-service.ollama-dist.svc.cluster.local:8321/v1/models

Approved-by: leseb

Approved-by: derekhiggins
(cherry picked from commit f2e783f)
VaishnaviHire pushed a commit to VaishnaviHire/llama-stack-k8s-operator that referenced this pull request Sep 18, 2025
## Description

The `.status.serviceURL` field in the `LlamaStackDistribution` resource would now have the value i.e.,:
```
http://<service-name>.<namespace>.svc.cluster.local:<port>
```

Note: the pre-commit linter seems to not like the use of `serviceUrl`. It said to use `serviceURL` instead.

## Verification Steps
I tested the service by:
1. Running my own version of llama-stack-k8s-operator on OpenShift with the changes in this PR: `make deploy IMG=quay.io/rh_ee_czaccari/llama-stack-k8s-operator:servicestatus4`
2. Created a sample LlamaStackDistribution.
3. Then I ran a test pod:

>kubectl run curl-test --image=quay.io/rh_ee_czaccari/curl:test5 --rm -it --restart=Never -n ollama-dist -- curl -k -v http://llamastackdistribution-sample-service.ollama-dist.svc.cluster.local:8321/v1/models

Approved-by: leseb

Approved-by: derekhiggins
(cherry picked from commit f2e783f)
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.

3 participants