tilt-dev / tilt-dev/tilt

group services with pods

Open
#5,886 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
10.1k
Forks
413
Avg merge
1d 10h
Merged PRs (30d)
6

Description

From sam in the tilt channel:

apiVersion: v1
kind: Pod
metadata:
  name: eureka
  labels:
    app: eureka
spec:
  containers:
  - name: eureka
    image: netflixoss/eureka:1.3.1
    ports:
      - containerPort: 8080

---
apiVersion: v1
kind: Service
metadata:
  name: eureka
  labels:
    app: eureka
spec:
  ports:
    - port: 8080
  selector:
    app: eureka

im wondering if there is any other way to flag k8s services with a label so they get grouped in tandem, like the above

Currently, Tilt will match up Services with PodTemplates (e.g., Deployments, ReplicaSets), but not with bare pods

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the Pod and Service manifest shown in the report, then trace the existing matching behavior for Services and PodTemplates. Done means a Service and a bare Pod with matching labels are grouped together without affecting existing PodTemplate matching.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
43/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.