Skip to content

Commit

Permalink
test: assert 2 instances of datacollection and odiglet (#2365)
Browse files Browse the repository at this point in the history
  • Loading branch information
blumamir authored Feb 2, 2025
1 parent 7fcfa95 commit b691cda
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions tests/e2e/cli-upgrade/assert-odigos-upgraded.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ spec:
image: keyval/odigos-odiglet:e2e-test
hostNetwork: true
hostPID: true
nodeName: kind-control-plane
nodeSelector:
kubernetes.io/os: linux
serviceAccount: odiglet
Expand All @@ -96,6 +97,72 @@ status:
---
apiVersion: v1
kind: Pod
metadata:
labels:
app.kubernetes.io/name: odiglet
namespace: odigos-test
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: DaemonSet
name: odiglet
spec:
containers:
- name: odiglet
resources: {}
securityContext:
capabilities:
add:
- SYS_PTRACE
privileged: true
image: keyval/odigos-odiglet:e2e-test
hostNetwork: true
hostPID: true
nodeName: kind-worker
nodeSelector:
kubernetes.io/os: linux
serviceAccount: odiglet
serviceAccountName: odiglet
status:
containerStatuses:
- name: odiglet
ready: true
restartCount: 0
started: true
---
apiVersion: v1
kind: Pod
metadata:
labels:
odigos.io/collector-role: NODE_COLLECTOR
namespace: odigos-test
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: DaemonSet
name: odigos-data-collection
spec:
containers:
- name: data-collection
image: keyval/odigos-collector:e2e-test
hostNetwork: true
nodeName: kind-control-plane
nodeSelector:
kubernetes.io/os: linux
serviceAccount: odigos-data-collection
serviceAccountName: odigos-data-collection
status:
containerStatuses:
- name: data-collection
ready: true
restartCount: 0
started: true
phase: Running
---
apiVersion: v1
kind: Pod
metadata:
labels:
odigos.io/collector-role: NODE_COLLECTOR
Expand All @@ -111,6 +178,7 @@ spec:
- name: data-collection
image: keyval/odigos-collector:e2e-test
hostNetwork: true
nodeName: kind-worker
nodeSelector:
kubernetes.io/os: linux
serviceAccount: odigos-data-collection
Expand Down

0 comments on commit b691cda

Please sign in to comment.