Skip to content

Commit

Permalink
Increase timeout for the pods to start
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
  • Loading branch information
Vladimir Popov committed Jan 13, 2021
1 parent 40e1d2e commit 76a3bc1
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
13 changes: 9 additions & 4 deletions examples/VFIOConnection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ kubectl apply -k .

Wait for applications ready:
```bash
kubectl -n ${NAMESPACE} wait --for=condition=ready --timeout=1m pod -l app=nsc
kubectl -n ${NAMESPACE} wait --for=condition=ready --timeout=5m pod -l app=nsc
```
```bash
kubectl -n ${NAMESPACE} wait --for=condition=ready --timeout=1m pod -l app=nse
kubectl -n ${NAMESPACE} wait --for=condition=ready --timeout=5m pod -l app=nse
```

Get NSC pod:
Expand Down Expand Up @@ -86,7 +86,12 @@ test "${PONG_PACKETS}" -ne 0 \

## Cleanup

Stop ponger
Show status:
```bash
kubectl -n ${NAMESPACE} get pods
```

Stop ponger:
```bash
NSE_POD=$(kubectl -n ${NAMESPACE} get pods -l app=nse |
grep -v "NAME" |
Expand All @@ -98,7 +103,7 @@ kubectl -n ${NAMESPACE} exec ${NSE_POD} --container ponger -- /bin/bash -c '
'
```

Delete ns
Delete ns:
```bash
kubectl delete ns ${NAMESPACE}
```
9 changes: 9 additions & 0 deletions examples/VFIOConnection/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: ns-kdmzf

bases:
- ../../apps/vfio-nsc
- ../../apps/vfio-nse
6 changes: 6 additions & 0 deletions examples/spire/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ kubectl exec -n spire spire-server-0 -- \

## Cleanup

Show status:
```bash
kubectl -n spire get pods
```

Delete ns:
```bash
kubectl delete ns spire
```
6 changes: 6 additions & 0 deletions examples/sriov/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ kubectl apply -k .

## Cleanup

Show status:
```bash
kubectl -n nsm-system get pods
```

Delete ns:
```bash
kubectl delete ns nsm-system
```

0 comments on commit 76a3bc1

Please sign in to comment.