forked from LaconicNetwork/kompose
Moved cpu_shares and cpuset to unsupported keys
Resolves #272 and #267 As there is no direct mapping of `cpushares` and `cpuset` to kubernetes, it should not be read and should be moved to unsupported keys.
This commit is contained in:
@@ -45,8 +45,6 @@ func newServiceConfig() kobject.ServiceConfig {
|
||||
Network: []string{"network1", "network2"}, // not supported
|
||||
Labels: nil,
|
||||
Annotations: map[string]string{"abc": "def"},
|
||||
CPUSet: "cpu_set", // not supported
|
||||
CPUShares: 1, // not supported
|
||||
CPUQuota: 1, // not supported
|
||||
CapAdd: []string{"cap_add"}, // not supported
|
||||
CapDrop: []string{"cap_drop"}, // not supported
|
||||
|
||||
Reference in New Issue
Block a user