gyliu513 / roadmap

Daily Work
Apache License 2.0
16 stars 13 forks source link

oc debug node #24

Open gyliu513 opened 3 years ago

gyliu513 commented 3 years ago
root@xanthene1:~# oc debug node/worker0.rubdown.cp.fyre.ibm.com
Starting pod/worker0rubdowncpfyreibmcom-debug ...
To use host binaries, run `chroot /host`
Pod IP: 10.17.16.235
If you don't see a command prompt, try pressing enter.
sh-4.2# pwd
/
sh-4.2# cat /etc/containers/registries.conf
cat: /etc/containers/registries.conf: No such file or directory
sh-4.2# chroot /host
sh-4.4#
sh-4.4# pwd
/
sh-4.4# cat /etc/containers/registries.conf
unqualified-search-registries = ["registry.access.redhat.com", "docker.io"]

[[registry]]
  prefix = ""
  location = "cp.icr.io/cp"
  mirror-by-digest-only = true

  [[registry.mirror]]
    location = "cp.stg.icr.io/cp"

[[registry]]
  prefix = ""
  location = "cp.icr.io/cp/cpd"
  mirror-by-digest-only = true

  [[registry.mirror]]
    location = "hyc-cloud-private-daily-docker-local.artifactory.swg-devops.com/ibmcom"

[[registry]]
  prefix = ""
  location = "docker.io/ibmcom"
  mirror-by-digest-only = true

  [[registry.mirror]]
    location = "cp.stg.icr.io/cp"

[[registry]]
  prefix = ""
  location = "quay.io/opencloudio"
  mirror-by-digest-only = true

  [[registry.mirror]]
    location = "hyc-cloud-private-daily-docker-local.artifactory.swg-devops.com/ibmcom"