Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit d17dacd

Browse files
authored
Merge pull request #123 from ironicbadger/fix/build
Fix/build
2 parents 78bf149 + 3af1d82 commit d17dacd

File tree

63 files changed

+45405
-27913
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+45405
-27913
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ emoji: 🧹
3333
link: https://access.redhat.com/solutions/4985441
3434
---
3535
```
36+
37+
## Dev environment
38+
39+
* Ensure you have npm installed
40+
* Then `npm install -g gatsby-cli`
41+
* Followed by `npm install` to update local package info
42+
* To build the site run `gatsby build` and to serve it `gatsby serve`

notes/api/api-resources.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ tags:
44
- API
55
- oc
66
emoji: ⌨️
7-
link: https://www.openshift.com/blog/
7+
link: 'https://www.openshift.com/blog/'
8+
created: 2020-09-22T13:39:36.000Z
9+
modified: 2020-09-22T13:39:36.000Z
810
---
911

1012
A few commands to use when querying the Openshift API.

notes/capacity/count-pods-by-node.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ title: Count pods by node
33
tags:
44
- Openshift 4
55
- Capacity
6-
emoji: 🔢
6+
emoji: "\U0001F522"
7+
created: 2020-06-16T19:48:27.000Z
8+
modified: 2020-09-22T13:49:21.000Z
79
---
810

911
Count running pods:

notes/capacity/list-images.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ tags:
44
- Openshift 4
55
- Capacity
66
- Images
7-
emoji: 🎞️
8-
link: https://docs.openshift.com/container-platform
7+
emoji: "\U0001F39E"
8+
link: 'https://docs.openshift.com/container-platform'
9+
created: 2020-09-22T15:34:35.000Z
10+
modified: 2020-09-22T16:03:44.000Z
911
---
1012

1113
## List all container images running in a cluster
@@ -20,4 +22,4 @@ oc get pods -A -o go-template --template='{{range .items}}{{range .spec.containe
2022

2123
```
2224
for node in $(oc get nodes -o name);do oc debug ${node} -- chroot /host sh -c 'crictl images -o json' 2>/dev/null | jq -r .images[].repoTags[]; done | sort -u
23-
```
25+
```

notes/capacity/ops-view.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ tags:
44
- Openshift 4
55
- Capacity
66
emoji: ⌨️
7-
link: https://github.com/hjacobs/kube-ops-view
7+
link: 'https://github.com/hjacobs/kube-ops-view'
8+
created: 2020-06-16T15:58:32.000Z
9+
modified: 2020-09-22T13:49:21.000Z
810
---
911

1012
Want to know how full your cluster is? Or get a vague idea of what is running where? `kube-ops-view` is a simple dashboard that lets you visualize this.

notes/capacity/pod-cleanup.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ tags:
55
- Admin Tasks
66
- Cleanup
77
- Capacity
8-
emoji: 🧹
9-
link: https://docs.openshift.com/
8+
emoji: "\U0001F9F9"
9+
link: 'https://docs.openshift.com/'
10+
created: 2020-06-14T04:06:39.000Z
11+
modified: 2020-11-19T16:53:02.000Z
1012
---
1113

1214
## Delete all 'Completed' pods

notes/capacity/quotas-and-limits-demo.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ tags:
44
- Openshift 4
55
- Capacity
66
- Quota
7-
emoji: 🔢
8-
link: https://github.com/kevchu3/quotas-and-limits-demo
7+
emoji: "\U0001F522"
8+
link: 'https://github.com/kevchu3/quotas-and-limits-demo'
9+
created: 2020-07-06T20:09:13.000Z
10+
modified: 2020-09-22T13:49:21.000Z
911
---
1012

1113
Full text and examples at the link above.

notes/container-images/image-manifest-lists.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ title: Determine if an image is multi-architecture
33
tags:
44
- Skopeo
55
- Images
6-
link: https://github.com/containers/image/pull/400
7-
emoji: 🖼️
6+
link: 'https://github.com/containers/image/pull/400'
7+
emoji: "\U0001F5BC"
8+
created: 2020-06-15T21:35:25.000Z
9+
modified: 2020-09-22T15:34:35.000Z
810
---
911

1012
In order to support multi-architecture images going forward, container tools (i.e. Docker, podman, crio, etc...) have been updated to read from manifest lists. To determine if an image is a multi-architecture manifest list, run the following command (substitute the image with your own):

notes/deployments/deployment-var-tips.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ tags:
44
- Openshift 4
55
- Configuration
66
- Deployments
7-
emoji: 🗂️
8-
link: https://docs.openshift.com/container-platform
7+
emoji: "\U0001F5C2"
8+
link: 'https://docs.openshift.com/container-platform'
9+
created: 2020-09-22T15:57:09.000Z
10+
modified: 2020-09-22T15:57:09.000Z
911
---
1012

1113
# Import environment variables from a file
@@ -73,4 +75,4 @@ oc logs <pod> --all-containers
7375

7476
```
7577
oc logs <pod> --all-containers --prefix
76-
```
78+
```

notes/identity/htpasswd-auth.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ tags:
44
- Openshift 4
55
- Configuration
66
- Secrets
7-
emoji: 🤐
8-
link: https://docs.openshift.com/container-platform
7+
emoji: "\U0001F910"
8+
link: 'https://docs.openshift.com/container-platform'
9+
created: 2020-09-22T15:57:09.000Z
10+
modified: 2020-09-22T15:57:09.000Z
911
---
1012

1113
# Add HTPasswd authentication
@@ -45,4 +47,4 @@ EOF
4547
## Optional: grant cluster-admin role
4648
```
4749
oc adm policy add-cluster-role-to-user cluster-admin admin
48-
```
50+
```

0 commit comments

Comments
 (0)