Skip to content

Commit

Permalink
more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantanjunming committed Nov 19, 2024
1 parent 5e15d95 commit faecb6c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/otel-integration-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
HOSTENDPOINT: ${{ env.HOSTENDPOINT }}
KUBECONFIG: ${{ env.KUBECONFIG }}
run: |
kubectl get nodes
kubectl get pods -A
kubectl get nodes -o wide
kubectl get pods -A -o wide
kubectl describe daemonsets coralogix-opentelemetry-agent
kubectl logs -l app.kubernetes.io/name=opentelemetry-agent
- name: Run E2E test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ spec:
imagePullPolicy: IfNotPresent
name: telemetrygen
env:
- name: NODE
- name: K8S_NODE_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
command:
- /telemetrygen
Expand Down
3 changes: 2 additions & 1 deletion otel-integration/k8s-helm/e2e-test/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ func TestE2E_Agent(t *testing.T) {
})
defer shutdownSinks()

nodeIP := os.Getenv("NODE")
nodeIP := os.Getenv("K8S_NODE_IP")
fmt.Print("Node IP: ", nodeIP)
testID := uuid.NewString()[:8]
createTeleOpts := &k8stest.TelemetrygenCreateOpts{
ManifestsDir: filepath.Join(k8sDir, "telemetrygen"),
Expand Down

0 comments on commit faecb6c

Please sign in to comment.