-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add image content section to images page #46440
base: main
Are you sure you want to change the base?
feat: Add image content section to images page #46440
Conversation
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about we make a tooltip for OCI artefact
so that readers can get more information about OCI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. With tweaks this could merge; without them, I need to request changes.
@@ -10,7 +10,7 @@ hide_summary: true # Listed separately in section index | |||
|
|||
<!-- overview --> | |||
|
|||
A container image represents binary data that encapsulates an application and all its | |||
A container image is an OCI artifact that that encapsulates an application and all its |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does need either a glossary tooltip or a plain hyperlink. Without it, we're making the page more confusing, not less.
@@ -63,6 +63,21 @@ Some image name examples that Kubernetes can use are: | |||
- `registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07` - Image name with digest. | |||
- `registry.k8s.io/pause:3.5@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07` - Image name with tag and digest. Only digest will be used for pulling. | |||
|
|||
## Image content | |||
|
|||
OCI images are composed of layers. Each layer is a set of files that are added to the image. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OCI images are composed of layers. Each layer is a set of files that are added to the image. | |
Container images are composed of _layers_. Each layer is a set of files that are added to the image. |
Docker-format images have layers too. It'd be wrong to imply that only OCI images have layers.
{{< note >}} | ||
Other types of artifacts that are OCI compliant but not container images | ||
cannot be used by Kubernetes as images. You can read more about them in the [OCI Manifest Spec](https://github.com/opencontainers/image-spec/blob/main/manifest.md). | ||
{{< /note >}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this important to mention? I wouldn't use a note callout here.
Try this:
{{< note >}} | |
Other types of artifacts that are OCI compliant but not container images | |
cannot be used by Kubernetes as images. You can read more about them in the [OCI Manifest Spec](https://github.com/opencontainers/image-spec/blob/main/manifest.md). | |
{{< /note >}} | |
### Artifacts that are _not_ images {#other-oci-artifacts} | |
Container images are only one kind of OCI artifact. You can read more about them in the [OCI Manifest Spec](https://github.com/opencontainers/image-spec/blob/main/manifest.md). Types of artifacts that are OCI compliant but not container images cannot be used by Kubernetes as container images. |
OCI images are composed of layers. Each layer is a set of files that are added to the image. | ||
Each layer and final image are identified by a digest. The digest of layer is a hash of the layer's content. | ||
|
||
OCI Container images can be created using various tools and techniques. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OCI Container images can be created using various tools and techniques. | |
Container images can be created using various tools and techniques. |
Each layer and final image are identified by a digest. The digest of layer is a hash of the layer's content. | ||
|
||
OCI Container images can be created using various tools and techniques. | ||
Some examples are: Docker, Buildah, Kaniko, and Buildpacks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Alphabetical order please
- And use a shortcode marker - see https://kubernetes.io/docs/contribute/style/hugo-shortcodes/#third-party-content-item
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hello! This PR is aiming to solve the remaining items in #4502 especially addressing #4502 (comment)