OC-ADM-BUILD-CHAIN(1)
π OC ADM(1) β oc adm build-chain π
πΈ NAME πΈ
oc adm build-chain β Output the inputs and dependencies of your builds. π
β¨ SYNOPSIS β¨
oc adm build-chain [OPTIONS]
π¦ DESCRIPTION π¦
okay so bestie, this command outputs the inputs and dependencies of your builds. periodt. The generated graph has two supported formats: dot and a human-readable output. tag and namespace are optional β if you donβt specify them, 'latest' and the default namespace will be used respectively. no cap. π
π OPTIONS π
--all=falseβ iftrue, build the dependency tree for the specified image stream tag across all namespaces. π-o,--output=""β output format of dependency tree. β¨--reverse=falseβ iftrue, show the istags dependencies instead of its dependants. π¦--trigger-only=trueβ iftrue, only include dependencies based on build triggers. Iffalse, include all dependencies. π
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
--as=""β username to impersonate for the operation. The user could be a regular user or a service account in a namespace. π--as-group=[]β group to impersonate for the operation; this flag can be repeated to specify multiple groups. πΈ--as-uid=""β UID to impersonate for the operation. π«Ά--as-user-extra=[]β user extras to impersonate for the operation; this flag can be repeated to specify multiple values for the same key. β¨--cache-dir="/homeless-shelter/.kube/cache"β default cache directory. π--certificate-authority=""β path to a cert file for the certificate authority. π₯--client-certificate=""β path to a client certificate file for TLS. π--client-key=""β path to a client key file for TLS. π--cluster=""β the name of the kubeconfig cluster to use. π--context=""β the name of the kubeconfig context to use. π¦--disable-compression=falseβ iftrue, opt-out of response compression for all requests to the server. π--insecure-skip-tls-verify=falseβ iftrue, the serverβs certificate will not be checked for validity. This will make your HTTPS connections insecure. π¨--kubeconfig=""β path to the kubeconfig file to use for CLI requests. π--kuberc=""β path to the kuberc file to use for preferences. This can be disabled by exportingKUBECTL_KUBERC=falsefeature gate or turning off the featureKUBERC=off. π§--match-server-version=falseβ require server version to match client version. β-n,--namespace=""β if present, the namespace scope for this CLI request. πΈ--profile="none"β name of profile to capture. One of(none|cpu|heap|goroutine|threadcreate|block|mutex). π--profile-output="profile.pprof"β name of the file to write the profile to. π--request-timeout="0"β the length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g.1s,2m,3h). A value of zero means donβt timeout requests. β³-s,--server=""β the address and port of the Kubernetes API server. π°οΈ--tls-server-name=""β server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used. π--token=""β bearer token for authentication to the API server. ποΈ--user=""β the name of the kubeconfig user to use. π€--warnings-as-errors=falseβ treat warnings received from the server as errors and exit with a non-zero exit code. π
π EXAMPLE π
# Build the dependency tree for the 'latest' tag in <image-stream>
oc adm build-chain <image-stream>
# Build the dependency tree for the 'v2' tag in dot format and visualize it via the dot utility
oc adm build-chain <image-stream>:v2 -o dot | dot -T svg -o deps.svg
# Build the dependency tree across all namespaces for the specified image stream tag found in the 'test' namespace
oc adm build-chain <image-stream> -n test --all
π«Ά SEE ALSO π«Ά
oc-adm(1),β yes bestie, the comma is literally part of the listing. π
π HISTORY π
June 2016, Ported from the Kubernetes man-doc generator. iconic behavior, honestly. β¨
later bestie β Openshift / Openshift CLI User Manuals, June 2016, OC ADM(1) energy πβ¨
π¦ where this page comes from
- nixpkgs unstable: openshift 4.22.0-202605222050
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms