Skip to content

Instantly share code, notes, and snippets.

@sumanthkumarc
Created February 3, 2022 08:46
Show Gist options
  • Select an option

  • Save sumanthkumarc/0c676c04a7029a303550242438caecc2 to your computer and use it in GitHub Desktop.

Select an option

Save sumanthkumarc/0c676c04a7029a303550242438caecc2 to your computer and use it in GitHub Desktop.
namespace manifest
~ k get ns foo-bar -o yaml
apiVersion: v1
kind: Namespace
metadata:
name: foo-bar
selfLink: /api/v1/namespaces/foo-bar
spec:
finalizers:
- kubernetes
status:
conditions:
- message: 'Discovery failed for some groups, 1 failing: unable to retrieve the
complete list of server APIs: external.metrics.k8s.io/v1beta1: the server is
currently unable to handle the request'
reason: DiscoveryFailed
status: "True"
type: NamespaceDeletionDiscoveryFailure
- message: All legacy kube types successfully parsed
reason: ParsedGroupVersions
status: "False"
type: NamespaceDeletionGroupVersionParsingFailure
- message: All content successfully deleted, may be waiting on finalization
reason: ContentDeleted
status: "False"
type: NamespaceDeletionContentFailure
- message: All content successfully removed
reason: ContentRemoved
status: "False"
type: NamespaceContentRemaining
- message: All content-preserving finalizers finished
reason: ContentHasNoFinalizers
status: "False"
type: NamespaceFinalizersRemaining
phase: Terminating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment