Skip to content

Commit

Permalink
revert some changes
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
  • Loading branch information
NikitaSkrynnik committed Sep 13, 2022
1 parent 92dd897 commit ac3b517
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 0 deletions.
26 changes: 26 additions & 0 deletions examples/observability/jaeger-and-prometheus/example/client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
apiVersion: v1
kind: Pod
metadata:
name: alpine
labels:
app: alpine
annotations:
networkservicemesh.io: kernel://jaeger-and-prometheus/nsm-1
spec:
containers:
- name: alpine
image: alpine:3.15.0
imagePullPolicy: IfNotPresent
stdin: true
tty: true
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- topologyKey: kubernetes.io/hostname
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- nse-kernel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: ns-jaeger-and-prometheus

resources:
- client.yaml
- netsvc.yaml

bases:
- https://github.com/networkservicemesh/deployments-k8s/apps/nse-kernel?ref=63e7a206892601b733cfc8cd81ee5e46dbf4e78a

patchesStrategicMerge:
- patch-nse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
apiVersion: networkservicemesh.io/v1
kind: NetworkService
metadata:
name: jaeger-and-prometheus
namespace: nsm-system
spec:
payload: ETHERNET
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: nse-kernel
spec:
template:
spec:
containers:
- name: nse
env:
- name: NSM_CIDR_PREFIX
value: 172.16.1.100/31
- name: TELEMETRY
value: "true"
- name: NSM_SERVICE_NAMES
value: "jaeger-and-prometheus"
- name: NSM_REGISTER_SERVICE
value: "false"

0 comments on commit ac3b517

Please sign in to comment.