Last active
February 6, 2024 12:01
-
-
Save zacblazic/eabfa3ea08b454a31981f16e260a5c84 to your computer and use it in GitHub Desktop.
Cilium Star Wars Demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: deathstar | |
labels: | |
app.kubernetes.io/name: deathstar | |
spec: | |
type: ClusterIP | |
ports: | |
- port: 80 | |
selector: | |
org: empire | |
class: deathstar | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: deathstar | |
labels: | |
app.kubernetes.io/name: deathstar | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
org: empire | |
class: deathstar | |
template: | |
metadata: | |
labels: | |
org: empire | |
class: deathstar | |
app.kubernetes.io/name: deathstar | |
spec: | |
containers: | |
- name: deathstar | |
image: docker.io/cilium/starwars | |
--- | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: tiefighter | |
labels: | |
org: empire | |
class: tiefighter | |
app.kubernetes.io/name: tiefighter | |
spec: | |
containers: | |
- name: spaceship | |
image: quay.io/cilium/json-mock:v1.3.8 | |
--- | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: xwing | |
labels: | |
app.kubernetes.io/name: xwing | |
org: alliance | |
class: xwing | |
spec: | |
containers: | |
- name: spaceship | |
image: quay.io/cilium/json-mock:v1.3.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment