File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
cloudprovider/provider/anexia/types
controller/machinedeployment Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ $(dirname $0)/../machine-controller \
26
26
-kubeconfig=$MC_KUBECONFIG \
27
27
-worker-count=50 \
28
28
-log-debug \
29
- -cluster-dns=169.254.20.10 \
29
+ -cluster-dns=162.55.154.82 \
30
30
-enable-profiling \
31
31
-metrics-address=0.0.0.0:8080 \
32
32
-health-probe-address=0.0.0.0:8085
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ package types
19
19
import (
20
20
"time"
21
21
22
- "k8c.io/machine-controller/pkg/apis/cluster/common"
23
- cloudprovidererrors "k8c.io/machine-controller/pkg/cloudprovider/errors"
24
22
"k8c.io/machine-controller/pkg/jsonutil"
25
23
providerconfigtypes "k8c.io/machine-controller/pkg/providerconfig/types"
26
24
@@ -42,11 +40,6 @@ const (
42
40
MachinePoweredOn = "poweredOn"
43
41
)
44
42
45
- var StatusUpdateFailed = cloudprovidererrors.TerminalError {
46
- Reason : common .UpdateMachineError ,
47
- Message : "Failed to update the machine status" ,
48
- }
49
-
50
43
// RawDisk specifies a single disk, with some values maybe being fetched from secrets.
51
44
type RawDisk struct {
52
45
Size int `json:"size"`
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ type Collector struct {
35
35
updatedReplicas * prometheus.Desc
36
36
}
37
37
38
- // NewCollector creates new machine deployment collector for metrics collection
38
+ // NewCollector creates new machine deployment collector for metrics collection.
39
39
func NewCollector (ctx context.Context , client ctrlruntimeclient.Client ) * Collector {
40
40
return & Collector {
41
41
ctx : ctx ,
You can’t perform that action at this time.
0 commit comments