-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathaction.proto
More file actions
63 lines (44 loc) · 1.16 KB
/
action.proto
File metadata and controls
63 lines (44 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
edition = "2024";
package aks.flex.components.kubeadm;
option go_package = "github.com/Azure/AKSFlexNode/components/kubeadm";
import "components/api/api.proto";
message KubeadmNodeJoin {
api.Metadata metadata = 1;
KubeadmNodeJoinSpec spec = 2;
KubeadmNodeJoinStatus status = 3;
}
message ControlPlane { // TODO: move to common place?
string server = 1;
bytes certificate_authority_data = 2;
}
message Taint {
string key = 1;
string value = 2;
string effect = 3;
}
message Kubelet { // TODO: move to node package
NodeAuthInfo bootstrap_auth_info = 1;
map<string, string> node_labels = 2;
string node_ip = 3;
// List of taints to assign using the kubelet flag
repeated Taint register_with_taints = 4;
}
message NodeAuthInfo { // ref: clientcmd/api.AuthInfo
oneof auth_info {
string token = 1;
bytes exec = 2;
}
}
message KubeadmNodeJoinSpec {
ControlPlane control_plane = 1;
Kubelet kubelet = 2;
}
message KubeadmNodeJoinStatus {
}
message KubeadmNodeReset {
api.Metadata metadata = 1;
KubeadmNodeResetSpec spec = 2;
KubeadmNodeResetStatus status = 3;
}
message KubeadmNodeResetSpec {}
message KubeadmNodeResetStatus {}