mirror of https://github.com/kubernetes/kops.git
Reduce log level in protokube
This commit is contained in:
parent
5e1f813e3b
commit
8c16d05a95
|
@ -43,13 +43,13 @@ func RunDNSUpdates(target DNSTarget, src *DNSView) {
|
||||||
// Snapshot is very cheap if we are in-sync
|
// Snapshot is very cheap if we are in-sync
|
||||||
snapshot := src.Snapshot()
|
snapshot := src.Snapshot()
|
||||||
if lastSnapshot != nil && lastSnapshot.version == snapshot.version {
|
if lastSnapshot != nil && lastSnapshot.version == snapshot.version {
|
||||||
glog.Infof("DNSView unchanged: %v", lastSnapshot.version)
|
glog.V(4).Infof("DNSView unchanged: %v", lastSnapshot.version)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: We might want to keep old records alive for a bit
|
// TODO: We might want to keep old records alive for a bit
|
||||||
|
|
||||||
glog.Infof("DNSView changed: %v", snapshot.version)
|
glog.V(2).Infof("DNSView changed: %v", snapshot.version)
|
||||||
|
|
||||||
err := target.Update(snapshot)
|
err := target.Update(snapshot)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -238,7 +238,7 @@ func (v *GCEVolumes) FindVolumes() ([]*Volume, error) {
|
||||||
|
|
||||||
diskClusterName := d.Labels[gce.GceLabelNameKubernetesCluster]
|
diskClusterName := d.Labels[gce.GceLabelNameKubernetesCluster]
|
||||||
if diskClusterName == "" {
|
if diskClusterName == "" {
|
||||||
glog.V(2).Infof("Skipping disk %q with no cluster name", d.Name)
|
glog.V(4).Infof("Skipping disk %q with no cluster name", d.Name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// Note that the cluster name is _not_ encoded with EncodeGCELabel
|
// Note that the cluster name is _not_ encoded with EncodeGCELabel
|
||||||
|
|
Loading…
Reference in New Issue