Skip to content

Commit 02899d8

Browse files
author
jmccormick2001
committed
update doc
1 parent 1658ce6 commit 02899d8

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

docs/operator-docs.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ the following:
484484
* delete an entire project (*pgo delete cluster --selector=project=xray*)
485485
* create a cluster with a crunchy-collect sidecar(*pgo create cluster testcluster --metrics*)
486486

487-
More detailed explanations of the commands can be found in the link:user-guide.asciidoc[User Guide].
487+
More detailed explanations of the commands can be found below <<pgo Commands>>.
488488

489489
== Makefile Targets
490490

operator/cluster/cluster_strategy_1.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func (r Strategy1) AddCluster(clientset *kubernetes.Clientset, client *rest.REST
128128
return err
129129
}
130130
deploymentDocString := primaryDoc.String()
131-
log.Info(deploymentDocString)
131+
log.Debug(deploymentDocString)
132132

133133
deployment := v1beta1.Deployment{}
134134
err = json.Unmarshal(primaryDoc.Bytes(), &deployment)
@@ -493,7 +493,7 @@ func (r Strategy1) CreateReplica(serviceName string, clientset *kubernetes.Clien
493493
return err
494494
}
495495
replicaDeploymentDocString := replicaDoc.String()
496-
log.Info(replicaDeploymentDocString)
496+
log.Debug(replicaDeploymentDocString)
497497

498498
replicaDeployment := v1beta1.Deployment{}
499499
err = json.Unmarshal(replicaDoc.Bytes(), &replicaDeployment)
@@ -533,7 +533,7 @@ func getPrimaryLabels(Name string, ClusterName string, cloneFlag bool, replicaFl
533533

534534
// GetAffinity ...
535535
func GetAffinity(nodeName string, operator string) string {
536-
log.Infof("GetAffinity with nodeName=[%s] and operator=[%s]\n", nodeName, operator)
536+
log.Debugf("GetAffinity with nodeName=[%s] and operator=[%s]\n", nodeName, operator)
537537
output := ""
538538
if nodeName == "" {
539539
return output
@@ -551,15 +551,15 @@ func GetAffinity(nodeName string, operator string) string {
551551
}
552552

553553
affinityDocString := affinityDoc.String()
554-
log.Info(affinityDocString)
554+
log.Debug(affinityDocString)
555555

556556
return affinityDocString
557557
}
558558

559559
func GetCollectAddon(spec *crv1.PgclusterSpec) string {
560560

561561
if spec.UserLabels["crunchy-collect"] == "true" {
562-
log.Info("crunchy-collect was found as a label on cluster create")
562+
log.Debug("crunchy-collect was found as a label on cluster create")
563563
collectTemplateFields := collectTemplateFields{}
564564
collectTemplateFields.Name = spec.Name
565565
collectTemplateFields.CCPImageTag = spec.CCPImageTag
@@ -572,7 +572,7 @@ func GetCollectAddon(spec *crv1.PgclusterSpec) string {
572572
return ""
573573
}
574574
collectString := collectDoc.String()
575-
log.Info(collectString)
575+
log.Debug(collectString)
576576
return collectString
577577
}
578578
return ""

operator/cluster/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func CreateService(clientset *kubernetes.Clientset, fields *ServiceTemplateField
5656
}
5757

5858
replicaServiceDocString := replicaServiceDoc.String()
59-
log.Info(replicaServiceDocString)
59+
log.Debug(replicaServiceDocString)
6060

6161
replicaService := v1.Service{}
6262
err = json.Unmarshal(replicaServiceDoc.Bytes(), &replicaService)

operator/cluster/upgrade_strategy_1.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func (r Strategy1) MinorUpgrade(clientset *kubernetes.Clientset, restclient *res
102102
return err
103103
}
104104
deploymentDocString := primaryDoc.String()
105-
log.Info(deploymentDocString)
105+
log.Debug(deploymentDocString)
106106

107107
deployment := v1beta1.Deployment{}
108108
err = json.Unmarshal(primaryDoc.Bytes(), &deployment)

0 commit comments

Comments
 (0)