Last active
April 30, 2019 22:24
-
-
Save therealmitchconnors/937046f6d33aa4833f69d38234b810ff to your computer and use it in GitHub Desktop.
A service graph topology for isotope to mimic https://medium.com/@michael_87395/benchmarking-istio-linkerd-cpu-c36287e32781
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: Namespace | |
metadata: | |
creationTimestamp: "2019-04-30T22:23:22Z" | |
labels: | |
istio-injection: enabled | |
name: service-graph | |
spec: {} | |
status: {} | |
--- | |
apiVersion: v1 | |
data: | |
service-graph: | | |
services: | |
- name: irs-client | |
numRbacPolicies: 0 | |
numReplicas: 3 | |
responseSize: 1KiB | |
script: | |
- sleep: 100ms | |
- call: | |
service: irs-server | |
size: 1KiB | |
type: http | |
- name: irs-server | |
numRbacPolicies: 0 | |
numReplicas: 3 | |
responseSize: 1KiB | |
script: | |
- sleep: 100ms | |
type: http | |
kind: ConfigMap | |
metadata: | |
creationTimestamp: "2019-04-30T22:23:22Z" | |
labels: | |
app: service-graph | |
name: service-graph-config | |
namespace: service-graph | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
creationTimestamp: "2019-04-30T22:23:22Z" | |
labels: | |
app: service-graph | |
name: irs-client | |
namespace: service-graph | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
name: irs-client | |
strategy: {} | |
template: | |
metadata: | |
annotations: | |
prometheus.io/scrape: "true" | |
creationTimestamp: "2019-04-30T22:23:22Z" | |
labels: | |
name: irs-client | |
role: service | |
spec: | |
containers: | |
- args: | |
- --max-idle-connections-per-host=0 | |
env: | |
- name: SERVICE_NAME | |
value: irs-client | |
image: tahler/isotope-service:1 | |
name: mock-service | |
ports: | |
- containerPort: 8080 | |
resources: {} | |
volumeMounts: | |
- mountPath: /etc/config | |
name: config-volume | |
volumes: | |
- configMap: | |
items: | |
- key: service-graph | |
path: service-graph.yaml | |
name: service-graph-config | |
name: config-volume | |
status: {} | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
creationTimestamp: "2019-04-30T22:23:22Z" | |
labels: | |
app: service-graph | |
name: irs-client | |
namespace: service-graph | |
spec: | |
ports: | |
- name: http-web | |
port: 8080 | |
targetPort: 0 | |
selector: | |
name: irs-client | |
status: | |
loadBalancer: {} | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
creationTimestamp: "2019-04-30T22:23:22Z" | |
labels: | |
app: service-graph | |
name: irs-server | |
namespace: service-graph | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
name: irs-server | |
strategy: {} | |
template: | |
metadata: | |
annotations: | |
prometheus.io/scrape: "true" | |
creationTimestamp: "2019-04-30T22:23:22Z" | |
labels: | |
name: irs-server | |
role: service | |
spec: | |
containers: | |
- args: | |
- --max-idle-connections-per-host=0 | |
env: | |
- name: SERVICE_NAME | |
value: irs-server | |
image: tahler/isotope-service:1 | |
name: mock-service | |
ports: | |
- containerPort: 8080 | |
resources: {} | |
volumeMounts: | |
- mountPath: /etc/config | |
name: config-volume | |
volumes: | |
- configMap: | |
items: | |
- key: service-graph | |
path: service-graph.yaml | |
name: service-graph-config | |
name: config-volume | |
status: {} | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
creationTimestamp: "2019-04-30T22:23:22Z" | |
labels: | |
app: service-graph | |
name: irs-server | |
namespace: service-graph | |
spec: | |
ports: | |
- name: http-web | |
port: 8080 | |
targetPort: 0 | |
selector: | |
name: irs-server | |
status: | |
loadBalancer: {} | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
creationTimestamp: "2019-04-30T22:23:22Z" | |
labels: | |
app: client | |
name: client | |
spec: | |
selector: | |
matchLabels: | |
app: client | |
strategy: {} | |
template: | |
metadata: | |
creationTimestamp: "2019-04-30T22:23:22Z" | |
labels: | |
app: client | |
spec: | |
containers: | |
- args: | |
- server | |
image: tahler/fortio:prometheus | |
name: fortio-client | |
ports: | |
- containerPort: 8080 | |
- containerPort: 42422 | |
resources: {} | |
status: {} | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
annotations: | |
prometheus.io/scrape: "true" | |
creationTimestamp: "2019-04-30T22:23:22Z" | |
labels: | |
app: client | |
name: client | |
spec: | |
ports: | |
- port: 8080 | |
targetPort: 0 | |
selector: | |
app: client | |
status: | |
loadBalancer: {} | |
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
defaults: | |
requestSize: 1 KB | |
responseSize: 1 KB | |
numRbacPolicies: 0 | |
services: | |
- name: irs-client | |
numReplicas: 3 | |
script: | |
- sleep: 100ms | |
- call: irs-server | |
- name: irs-server | |
numReplicas: 3 | |
script: | |
- sleep: 100ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment