Skip to content

Instantly share code, notes, and snippets.

@uablrek
Created May 25, 2020 07:08
Show Gist options
  • Save uablrek/a6bbc5082464fdb156e6b3b7eca86d1b to your computer and use it in GitHub Desktop.
Save uablrek/a6bbc5082464fdb156e6b3b7eca86d1b to your computer and use it in GitHub Desktop.
NSM simple-client with multiple nsmX interfaces
---
apiVersion: apps/v1
kind: Deployment
spec:
selector:
matchLabels:
networkservicemesh.io/app: "simple-client-2"
replicas: 3
template:
metadata:
labels:
networkservicemesh.io/app: "simple-client-2"
spec:
# Enable this with INSECURE=false
# serviceAccount: nsc-acc
containers:
- name: alpine-img
image: alpine:latest
imagePullPolicy: IfNotPresent
command: ["tail", "-f", "/dev/null"]
metadata:
name: simple-client-2
namespace: default
annotations:
ns.networkservicemesh.io: bridge-domain?app=bridge,bridge-domain-ipv6?app=bridge-ipv6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment