Skip to content

Instantly share code, notes, and snippets.

@r8or0pz
Last active February 28, 2025 11:38
Show Gist options
  • Save r8or0pz/191d30264d733a04f36fefed8801f2d7 to your computer and use it in GitHub Desktop.
Save r8or0pz/191d30264d733a04f36fefed8801f2d7 to your computer and use it in GitHub Desktop.
➜ fiber git:(master) kubectl get pods
NAME READY STATUS RESTARTS AGE
fiber-hello-75f669c6cf-ljvjz 0/1 InvalidImageName 0 5m16s
➜ fiber git:(master) kubectl logs fiber-hello-75f669c6cf-ljvjz
Error from server (BadRequest): container "hello" in pod "fiber-hello-75f669c6cf-ljvjz" is waiting to start: InvalidImageName
➜ fiber git:(master) kubectl describe deploy fiber-hello
Name: fiber-hello
Namespace: default
CreationTimestamp: Fri, 28 Feb 2025 13:29:38 +0200
Labels: app.kubernetes.io/instance=fiber-hello
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=hello
app.kubernetes.io/version=1.16.0
helm.sh/chart=hello-0.1.0
Annotations: deployment.kubernetes.io/revision: 1
meta.helm.sh/release-name: fiber-hello
meta.helm.sh/release-namespace: default
Selector: app.kubernetes.io/instance=fiber-hello,app.kubernetes.io/name=hello
Replicas: 1 desired | 1 updated | 1 total | 0 available | 1 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 25% max unavailable, 25% max surge
Pod Template:
Labels: app.kubernetes.io/instance=fiber-hello
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=hello
app.kubernetes.io/version=1.16.0
helm.sh/chart=hello-0.1.0
Service Account: fiber-hello
Containers:
hello:
Image: r8or0pz/hello:v2:1.16.0
Port: 3000/TCP
Host Port: 0/TCP
Liveness: http-get http://:http/ delay=0s timeout=1s period=10s #success=1 #failure=3
Readiness: http-get http://:http/ delay=0s timeout=1s period=10s #success=1 #failure=3
Environment: <none>
Mounts: <none>
Volumes: <none>
Node-Selectors: <none>
Tolerations: <none>
Conditions:
Type Status Reason
---- ------ ------
Available False MinimumReplicasUnavailable
Progressing True ReplicaSetUpdated
OldReplicaSets: <none>
NewReplicaSet: fiber-hello-75f669c6cf (1/1 replicas created)
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ScalingReplicaSet 5m21s deployment-controller Scaled up replica set fiber-hello-75f669c6cf from 0 to 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment