-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Problem statement
The default grafana template shows 2 containers running when only 1 is specified in the service spec:
SHOW SERVICE CONTAINERS output
❯ snow sql --query "SHOW SERVICE CONTAINERS IN SERVICE SPCS_NETWORK_HANDS_ON_DB.PUBLIC.SERVICE_B" --format=json | jq length
1
This happens because of the ingress sidecar container is included in the query
Potential solutions
-
Add a help note to the "Number of Running Containers" that mentions the ingress container
Pros:
- Explains the discrepancy of container count
Cons: - A bit hard to see for the user
- Explains the discrepancy of container count
-
Explicitly remove
snowflake-ingressfrom the query (, snow_containers_container_name!="snowflake-ingress"})Pros:
- Shows expected number of containers from the get-go
Cons: - Relies on
snowflake-ingresscontainer name staying the same, may be brittle in the long run
- Shows expected number of containers from the get-go
-
Remove the
snowflake-ingressfrom the query and add a help note. Seems to be the best of both approaches: fewer surprises and enough data for the admin to make a decision.
Metadata
Metadata
Assignees
Labels
No labels

