Skip to content

Commit e9342a8

Browse files
committed
Add: links for resources in k-debug and runcmd docs
Signed-off-by: Ali Mehraji <a.mehraji75@gmail.com>
1 parent 3b81f6e commit e9342a8

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

posts/kubectl-debug-ephemeral-ctrs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ kubectl delete pod node-debugger-debian-11-wrjhs
208208
- Tasks
209209
- [Debugging with an ephemeral debug container][k8s-docs-debug-pod]
210210
- [Copy Files To/From a Running Kubernetes Pod: a Distroless Image Case][ix-task-copy-files-to-from-distroless-kubernetes-pod]
211+
- [Run a Sidecar Container in the Namespace of Another Container][ix-task-docker-container-share-namespaces]
211212

212213
[ix-posts-ephemeral-containers]: https://iximiuz.com/en/posts/kubernetes-ephemeral-containers/
213214
[ephemeral-ctr-tshoot]: https://www.vcluster.com/blog/using-kubernetes-ephemeral-containers-for-troubleshooting
@@ -223,6 +224,7 @@ kubectl delete pod node-debugger-debian-11-wrjhs
223224

224225
[k8s-docs-debug-pod]: https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/#ephemeral-container
225226
[ix-task-copy-files-to-from-distroless-kubernetes-pod]: https://labs.iximiuz.com/challenges/copy-files-to-from-distroless-kubernetes-pod
227+
[ix-task-docker-container-share-namespaces]:https://labs.iximiuz.com/challenges/docker-container-share-namespaces
226228

227229
[ephemeral-ctrs-feature-request]: https://github.com/kubernetes/enhancements/issues/277
228230
[FR: New kubectl command]: https://github.com/kubernetes/kubernetes/issues/45922

posts/runcmd-package-cloud-init.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ tags: 'qemu,virtualization,cloudinit,devops'
66
id: 3090956
77
date: '2025-12-08T00:45:58Z'
88
---
9+
During boot, cloud-init identifies the cloud it is running on and initializes the system accordingly. Cloud instances will automatically be provisioned during first boot with networking, storage, SSH keys, packages and various other system aspects already configured.
10+
11+
running Cloud-Init is the job of the `cloud-init-local`, `cloud-init`, `cloud-config` and `cloud-final` init scripts in `/etc/init.d`. Cloud-Init can be configured to carry out a wide range of tasks such as adding `yum` or `apt` repositories, writing files, creating users and groups, and bootstrapping configuration management.
912

1013
How is it possible to run a command via `runcmd` before installing its related package via `packages` in Cloud-Init? Which one runs first ?
1114

@@ -104,6 +107,8 @@ packages:
104107
- [Cloud-Init: Building clouds][yt-cloud-init-building-clouds]
105108
- [Cloud-Init][cloud-init]
106109
- [terraform libvirt provider][tf-libvirt-provider]
110+
- [Cloud-Init configuration merging][cloudinit-configuration-merging]
111+
- [First Boot Determination][first-boot-detect]
107112

108113
[cloud-init]: https://cloudinit.readthedocs.io/en/latest/index.html
109114
[tf-libvirt-provider]: https://registry.terraform.io/providers/dmacvicar/libvirt/latest/docs
@@ -112,3 +117,5 @@ packages:
112117
[scripts-user]: https://cloudinit.readthedocs.io/en/latest/reference/modules.html#scripts-user
113118
[boot-stages]: https://cloudinit.readthedocs.io/en/latest/explanation/boot.html
114119
[yt-cloud-init-building-clouds]: https://youtu.be/1joQfUZQcPg
120+
[cloudinit-configuration-merging]:https://jen20.dev/post/cloudinit-configuration-merging/
121+
[first-boot-detect]:https://cloudinit.readthedocs.io/en/latest/explanation/first_boot.html#first-boot-determination

0 commit comments

Comments
 (0)