-
Notifications
You must be signed in to change notification settings - Fork 350
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Expected Behavior
Say my manifest is
apiVersion: jobset.x-k8s.io/v1alpha2
kind: JobSet
metadata:
name: jobset-test
spec:
replicatedJobs:
- name: head
template:
spec:
containers:
- name: head
image: myimage
command: ["cat", "changes.txt"]
- name: worker
replicas: 2
template:
spec:
containers:
- name: worker
image: myimage
command: ["cat", "changes.txt"]
and the myimage's dockerfile is
# syntax=docker/dockerfile:1.4
FROM busybox:latest
COPY changes.txt /changes.txt
The tiltfile is
docker_build('myimage', '/path/to/dockerfile')
helm_resource(
'jobset-test',
'/path/to/jobset.yaml',
image_deps=['myimage']
image_keys=[('image.repository', 'image.tag')],
)
If I modify changes.txt and save, I expect head, worker-0, worker-1 pods to get live synced with the new changes.
Current Behavior
Only worker-0 and worker-1 get live updated, the head still has the older copy of changes.txt.
Steps to Reproduce
See "Expected Behavior"
Context
tilt doctor
Output
$ tilt doctor
Tilt: v0.33.13, built 2024-04-26
System: darwin-arm64
---
Docker
- Host: unix:///Users/jessicaxie/.colima/docker.sock
- Server Version: 24.0.7
- API Version: 1.43
- Builder: 2
- Compose Version: v2.20.3
---
Kubernetes
- Env: unknown
- Context: <my context>
- Cluster Name: <my cluster>
- Namespace: default
- Container Runtime: cri-o
- Version: v1.27.2
- Cluster Local Registry: none
---
Thanks for seeing the Tilt Doctor!
Please send the info above when filing bug reports. 💗
The info below helps us understand how you're using Tilt so we can improve,
but is not required to ask for help.
---
Analytics Settings
--> (These results reflect your personal opt in/out status and may be overridden by an `analytics_settings` call in your Tiltfile)
- User Mode: opt-out
- Machine: 0cf4cdb1dda5938d522ff39f8c4d5974
- Repo: M2XaMpEc+34CeHQQUKDYew==
About Your Use Case
I am trying to use jobset with tilt.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working