Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Name
kf spaces – Bereiche im Cluster auflisten.
Zusammenfassung
kf spaces [flags]
Beispiele
kf spaces
Flags
--allow-missing-template-keys
Bei „true“ werden Fehler in Vorlagen ignoriert, wenn in der Vorlage ein Feld oder ein Zuordnungsschlüssel fehlt. Gilt nur für die Ausgabeformate "golang" und "jsonpath". (Standardeinstellung true)
-h, --help
Hilfe für "spaces"
-o, --output=string
Ausgabeformat. Eines von: go-template|go-template-file|json|jsonpath|jsonpath-as-json|jsonpath-file|name|template|templatefile|yaml.
--template=string
Vorlagenstring oder Pfad zur Vorlagendatei, die bei -o=go-template, -o=go-template-file verwendet werden soll. golang-Vorlagen sind das Vorlagenformat.
Übernommene Flags
Diese Flags werden von übergeordneten Befehlen übernommen.
--as=string
Nutzername, dessen Identität für den Vorgang übernommen wird.
--as-group=strings
Gruppe, deren Identität für den Vorgang übernommen wird. Verwenden Sie dieses Flag mehrfach, um mehrere Gruppen anzugeben.
--config=string
Pfad zur Kf-Konfigurationsdatei, die für Befehlszeile-Anfragen verwendet werden soll.
--kubeconfig=string
Pfad zur Datei „kubeconfig“ zur Verwendung für CLI-Anfragen.
--log-http
HTTP-Anfragen im Standardfehler loggen.
--space=string
Bereich zum Ausführen des Befehls. Dieses Flag überschreibt den aktuellen Ziel-Space.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[],[],null,["# kf spaces\n\n### Name\n\n`kf spaces` - List Spaces in the cluster.\n\n### Synopsis\n\n```\nkf spaces [flags]\n```\n\n### Examples\n\n```\nkf spaces\n```\n\n### Flags\n\n`--allow-missing-template-keys`\n\n: If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats. (default true)\n\n`-h, --help`\n\n: help for spaces\n\n`-o, --output=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Output format. One of: go-template\\|go-template-file\\|json\\|jsonpath\\|jsonpath-as-json\\|jsonpath-file\\|name\\|template\\|templatefile\\|yaml.\n\n`--template=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is [golang templates](http://golang.org/pkg/text/template/#pkg-overview).\n\n### Inherited flags\n\nThese flags are inherited from parent commands.\n\n`--as=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Username to impersonate for the operation.\n\n`--as-group=`\u003cvar translate=\"no\"\u003estrings\u003c/var\u003e\n\n: Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.\n\n`--config=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the Kf config file to use for CLI requests.\n\n`--kubeconfig=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Path to the kubeconfig file to use for CLI requests.\n\n`--log-http`\n\n: Log HTTP requests to standard error.\n\n`--space=`\u003cvar translate=\"no\"\u003estring\u003c/var\u003e\n\n: Space to run the command against. This flag overrides the currently targeted Space."]]