Documentation ¶
Index ¶
- Constants
- Variables
- func PatchImage(client *kubernetes.Clientset, deploymentName, issueType, patchImage string) error
- func PatchPod(issueType string, resourceReq []string) error
- func RunVzAnalyze() (string, error)
- func SetDepResources(dep, ns, req string) error
- func VerifyIssue(out, issueType string) bool
Constants ¶
View Source
const ( ImagePullNotFound string = "ImagePullNotFound" ImagePullBackOff string = "ImagePullBackOff" PodProblemsNotReported string = "PodProblemsNotReported" InsufficientMemory string = "InsufficientMemory" InsufficientCPU string = "InsufficientCPU" VzSystemNS string = "verrazzano-system" DeploymentToBePatched string = "verrazzano-console" )
Variables ¶
View Source
var ReportAnalysis = make(map[string][]string)
Functions ¶
func PatchImage ¶
func PatchImage(client *kubernetes.Clientset, deploymentName, issueType, patchImage string) error
PatchImage patches a deployment's image and feeds cluster analysis report patching includes both injection of an issue and its revival
func PatchPod ¶
PatchPod patches a deployment's pod and feeds cluster analysis report patching includes both injection of an issue and its revival
func RunVzAnalyze ¶
RunVzAnalyze runs and deliver cluster analysis report
func SetDepResources ¶
SetDepResources sets pod's resources i.e (cpu/ memory)
func VerifyIssue ¶
VerifyIssue verifies issue against cluster analysis report
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.