Skip to content

Commit

Permalink
Merge branch 'main' into allow_yaml_validation_of_examples
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Oct 5, 2023
2 parents d602a69 + c10a7dc commit 7914b0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/functional_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
- name: Print splunk-otel-collector logs
if: always()
run: |
# Echo logs for the collector (agent,cluster-receiver,gateway) for visability
# Echo logs for the collector (agent,cluster-receiver,gateway) for visibility
pods=$(kubectl get pods -l app=splunk-otel-collector -o jsonpath='{.items[*].metadata.name}')
for pod in $pods; do
echo "Logs for $pod:"
Expand Down
12 changes: 6 additions & 6 deletions test/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Splunk Platform Functional Test Environment Setup

## Prerequsite
## Prerequisites
* Python version must be > 3.x
* Kubectl = v1.15.2
* Minikube = v1.20.0
Expand All @@ -23,7 +23,7 @@
# Run following command to check if Splunk is ready. User should see "Ansible playbook complete, will begin streaming splunkd_stderr.log"
kubectl logs splunk -f

# To be abel to interact with Splunk pod from local workstation, you need to forward local ports to the ports on the Splunk Pod
# To be able to interact with Splunk pod from local workstation, you need to forward local ports to the ports on the Splunk Pod
# Start a new terminal concole, run following command and keep it running in the background
kubectl port-forward pods/splunk 8089

Expand All @@ -41,13 +41,13 @@
# Restart Splunk
curl -k -u admin:helloworld https://localhost:8089/services/server/control/restart -X POST

# Start a new terminal concole, forward local port 8000 to the port on Splunk pod (for debugging)
# Start a new terminal console, forward local port 8000 to the port on Splunk pod (for debugging)
kubectl port-forward pods/splunk 8000
You can then vistit Splunk web page: https://localhost:8000
You can then visit Splunk web page: https://localhost:8000

#### Deploy sck otel collector
# Get Splunk Host IP
export SPLUNK_HOST=$(kubectl get pod splunk --template={{.status.podIP}})
export CI_SPLUNK_HOST=$(kubectl get pod splunk --template={{.status.podIP}})

# Use ci_scripts/sck_otel_values.yaml file to deploy sck otel collector
# Default image repository: quay.io/signalfx/splunk-otel-collector
Expand All @@ -61,7 +61,7 @@
kubectl apply -f test/test_setup.yaml

#### Check data on Splunk
To see the test events generaged in Splunk, you can vistit Splunk web page: https://localhost:8000
To see the test events generaged in Splunk, you can visit Splunk web page: https://localhost:8000
Search for events by index.
For example: `index=ci_events`

Expand Down

0 comments on commit 7914b0b

Please sign in to comment.