modulepackage
0.0.0-20250122071904-c6fd01632a11
Repository: https://github.com/prahaladh/java_docker.git
Documentation: pkg.go.dev
# README
Java_docker
namespace
pod --> container (docker) configmap --> config related to app HPA --> autoscaling deployment --> min /max liveness / readiness service -->
ingress --> load balancer -- onetme - ALB
helm chart --> verison release v2
worker nodes --> ec2
kubectl get,edit,describe pod,cm,hpa,deployment,ing,svc -n namespace
lifecylce pod
crashlooping imagepullbackoff running evicted error
pid 1 stopped
twistlock scanning
# Functions
Function to compare Field1 and Field2 for each struct in an array and update Status based on the comparison.
GetDeployedImageForContainer extracts the container image details for a specific container.
GetDeployedImages extracts the container image details for each pod.
GetKubeClient creates a Kubernetes clientset.
GetKubeClient creates a Kubernetes clientset.
GetKubeClient creates a Kubernetes clientset.
GetLatestPod retrieves the latest pod based on creation timestamp.
GetPodsByService retrieves the pods associated with a given service.
GetPodsByService retrieves the pods associated with a given service.
GetPodsByService retrieves the pods associated with a given service.
PrintPodImage prints the image of the specified container (or the first container if none is specified).
# Structs
Struct to hold the results of the API calls for each application.
Struct to hold the results of the API calls for each application.
Struct to hold the results of the API calls for each application.
Example struct with three fields.
No description provided by the author
No description provided by the author