Skip to content

Commit

Permalink
try sh on the code blocks
Browse files Browse the repository at this point in the history
Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
sjd78 committed Jun 15, 2024
1 parent 54c53bc commit 7cac92d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions hack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ added to the instance by:

#### List all of the "tackle-" pods, what container image they're using, and the image's manifest digest:

```
```sh
> minikube kubectl -- \
get pods -n konveyor-tackle -o=json \
| jq '
Expand All @@ -46,12 +46,11 @@ added to the instance by:
"image": "quay.io/konveyor/tackle2-ui:latest",
"imageID": "docker-pullable://quay.io/konveyor/tackle2-ui@sha256:541484a8919d9129bed5b95a2776a84ef35989ca271753147185ddb395cc8781"
}
```

#### List the current ":latest" tag's manifest digest from quay for a single image (tackle2-hub in this example):

```
```sh
> curl https://quay.io/api/v1/repository/konveyor/tackle2-hub/tag/\?onlyActiveTags\=true\&specificTag\=latest | jq '.'
{
"tags": [
Expand All @@ -76,7 +75,7 @@ The ":latest" image tag usually move frequently. Using the previous two commands

If the digests do not match, the easy way to update is to "bounce" the deployment (the tackle-hub in this example):

```
```sh
> minikube kubectl -- scale -n konveyor-tackle deployment tackle-hub --replicas=0
deployment.apps/tackle-hub scaled
> minikube kubectl -- scale -n konveyor-tackle deployment tackle-hub --replicas=1
Expand Down

0 comments on commit 7cac92d

Please sign in to comment.