修改数据结构
This commit is contained in:
parent
bb522cd661
commit
4f7a37d36a
|
@ -30,6 +30,7 @@ func SyncProfile(svc *svc.ServiceContext) {
|
|||
pkg.KClients[v.Name] = &pkg.KubernetesClient{ClientSet: client.ClientSet, DynamicClient: client.DynamicClient}
|
||||
}
|
||||
}
|
||||
fmt.Println("客户端信息", pkg.KClients)
|
||||
//初始化客户端
|
||||
logx.Info("同步配置成功!------- 初始化客户端成功!")
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6420,14 +6420,14 @@ message ResourceRequirements {
|
|||
// Limits describes the maximum amount of compute resources allowed.
|
||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||
// +optional
|
||||
map<string, Quantity> limits = 1;
|
||||
map<string, string> limits = 1;
|
||||
|
||||
// Requests describes the minimum amount of compute resources required.
|
||||
// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
|
||||
// otherwise to an implementation-defined value. Requests cannot exceed Limits.
|
||||
// More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
|
||||
// +optional
|
||||
map<string, Quantity> requests = 2;
|
||||
map<string, string> requests = 2;
|
||||
|
||||
// Claims lists the names of resources, defined in spec.resourceClaims,
|
||||
// that are used by this container.
|
||||
|
|
Loading…
Reference in New Issue