Skip to content

Commit

Permalink
Fix k8s sample and versions (#507)
Browse files Browse the repository at this point in the history
* Revert "Add k8s 1.26 and 1.27 compatibility"

This reverts commit e8abb82.

* Updates k8s versions compatibility grid
  • Loading branch information
Corneil du Plessis authored Feb 1, 2024
1 parent baffcd2 commit a8063bd
Showing 1 changed file with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,25 @@ Get the HTTP service URL by running a command.

If deploying to a cluster that supports a load balancer, you can determine the HTTP service address by running the following command:

If your Kubernetes load balancer only provides hostnames use:

```bash
export SERVICE_URL="$(kubectl get svc --namespace default http-ingest-http -o jsonpath='{.status.loadBalancer.ingress[0].name}'):8080"
```

If your Kubernetes load balancer only provides IP addresses use:

```bash
export SERVICE_URL="$(kubectl get svc --namespace default http-ingest-http-v1 -o jsonpath='{.status.loadBalancer.ingress[0].ip}'):8080"
export SERVICE_URL="$(kubectl get svc --namespace default http-ingest-http -o jsonpath='{.status.loadBalancer.ingress[0].ip}'):8080"
```

It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of the server by running `kubectl get svc -w http-ingest-http-v1`
You can watch the status of the server by running `kubectl get svc -w http-ingest-http`

If you use Minikube, you can use the following command to get the URL of the server:

```bash
export SERVICE_URL=$(minikube service --url test-http-v1)
export SERVICE_URL=$(minikube service --url http-ingest-http --namespace='default')
```

You can view the HTTP URL of the application by typing the following:
Expand Down Expand Up @@ -228,6 +236,8 @@ kubectl logs -f http-ingest-log-v1-0-2k4r8
2017-10-30 22:59:04.966 INFO 1 --- [ http-ingest.http.http-ingest-1] log-sink : Happy streaming
```

_[Kail](https://github.com/boz/kail) is a handy tool for streaming all the logs from a namespace or multiple namespaces._

## Deleting a Stream

Now you can delete the stream you created. To do so:
Expand Down

0 comments on commit a8063bd

Please sign in to comment.