generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 140
/
compose.local.yml
40 lines (40 loc) · 1.13 KB
/
compose.local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Note for maintainers: When making a change in this file,
# you're likely to make the same change in simulator/docs/sample/plugin-extender/docker-compose.yaml.
services:
# This container copies the data,
# so any changes made to the configuration files within the Pod will not affect the original files.
init-container: {}
simulator-scheduler:
image: simulator-scheduler
simulator-server:
image: simulator-server
depends_on:
fake-source-cluster:
condition: "service_healthy"
required: false
simulator-frontend:
image: simulator-frontend
simulator-cluster: {}
fake-source-cluster:
image: registry.k8s.io/kwok/cluster:v0.6.0-k8s.v1.30.2
container_name: fake-source-cluster
restart: always
healthcheck:
test: "kwokctl kubectl get nodes"
start_period: 60s
start_interval: 1s
interval: 600s
ports:
- "3132:3132"
environment:
- KWOK_KUBE_APISERVER_PORT=3132
networks:
- simulator-internal-network
profiles:
- externalImportEnabled
networks:
simulator-internal-network:
driver: bridge
volumes:
simulator-etcd-data:
conf: