Skip to content

Commit 29cb56e

Browse files
authored
Merge pull request #4 from kubewharf/sjy/pod-resources-server-fix
style(qrm): update custom pod resources server api property index
2 parents 4e01765 + 2de2c41 commit 29cb56e

File tree

1 file changed

+94
-84
lines changed

1 file changed

+94
-84
lines changed

releases/1.24/patches/0002-KubeWharf-FEATURE-qos-resource-manager

Lines changed: 94 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -6568,7 +6568,7 @@ index 7708f758fa2..5d6387af557 100644
65686568
+ ResourcePlugin = "ResourcePlugin"
65696569
)
65706570
diff --git a/staging/src/k8s.io/kubelet/pkg/apis/podresources/v1/api.pb.go b/staging/src/k8s.io/kubelet/pkg/apis/podresources/v1/api.pb.go
6571-
index ac0924b2b16..d178c9be619 100644
6571+
index ac0924b2b16..19b893ea949 100644
65726572
--- a/staging/src/k8s.io/kubelet/pkg/apis/podresources/v1/api.pb.go
65736573
+++ b/staging/src/k8s.io/kubelet/pkg/apis/podresources/v1/api.pb.go
65746574
@@ -21,9 +21,11 @@ package v1
@@ -6595,7 +6595,7 @@ index ac0924b2b16..d178c9be619 100644
65956595
+ Devices []*ContainerDevices `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
65966596
+ CpuIds []int64 `protobuf:"varint,2,rep,packed,name=cpu_ids,json=cpuIds,proto3" json:"cpu_ids,omitempty"`
65976597
+ Memory []*ContainerMemory `protobuf:"bytes,3,rep,name=memory,proto3" json:"memory,omitempty"`
6598-
+ Resources []*AllocatableTopologyAwareResource `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources,omitempty"`
6598+
+ Resources []*AllocatableTopologyAwareResource `protobuf:"bytes,15,rep,name=resources,proto3" json:"resources,omitempty"`
65996599
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
66006600
+ XXX_sizecache int32 `json:"-"`
66016601
}
@@ -6679,7 +6679,7 @@ index ac0924b2b16..d178c9be619 100644
66796679
+ Devices []*ContainerDevices `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
66806680
+ CpuIds []int64 `protobuf:"varint,3,rep,packed,name=cpu_ids,json=cpuIds,proto3" json:"cpu_ids,omitempty"`
66816681
+ Memory []*ContainerMemory `protobuf:"bytes,4,rep,name=memory,proto3" json:"memory,omitempty"`
6682-
+ Resources []*TopologyAwareResource `protobuf:"bytes,5,rep,name=resources,proto3" json:"resources,omitempty"`
6682+
+ Resources []*TopologyAwareResource `protobuf:"bytes,15,rep,name=resources,proto3" json:"resources,omitempty"`
66836683
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
66846684
+ XXX_sizecache int32 `json:"-"`
66856685
}
@@ -7019,67 +7019,67 @@ index ac0924b2b16..d178c9be619 100644
70197019
- 0x71, 0x69, 0xa3, 0x5f, 0x97, 0xf6, 0xc6, 0xe7, 0x99, 0x8d, 0x2e, 0x66, 0x36, 0xfa, 0x39, 0xb3,
70207020
- 0xd1, 0xef, 0x99, 0x8d, 0xbe, 0xfe, 0xb1, 0x37, 0x06, 0x65, 0xfd, 0xd8, 0x3c, 0xfd, 0x1b, 0x00,
70217021
- 0x00, 0xff, 0xff, 0x43, 0x46, 0x5d, 0x7f, 0xac, 0x04, 0x00, 0x00,
7022-
+ // 952 bytes of a gzipped FileDescriptorProto
7022+
+ // 950 bytes of a gzipped FileDescriptorProto
70237023
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xcd, 0x6e, 0xdb, 0x46,
7024-
+ 0x10, 0x36, 0x45, 0xfd, 0x58, 0x63, 0xc5, 0x15, 0x36, 0x69, 0x4d, 0x2b, 0xb2, 0xac, 0xb0, 0x31,
7024+
+ 0x10, 0x36, 0x45, 0xfd, 0x58, 0x63, 0xc5, 0x11, 0x36, 0x69, 0x4d, 0x2b, 0xb2, 0xac, 0xb0, 0x31,
70257025
+ 0x20, 0xa0, 0xa9, 0x8c, 0xb8, 0xff, 0x3d, 0x14, 0x51, 0xec, 0xb6, 0x30, 0x90,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 0xb5, 0x5f,
7080+
+ 0xae, 0x7a, 0xda, 0xcb, 0xab, 0x9e, 0xf6, 0xea, 0xaa, 0xa7, 0xfd, 0x7d, 0xd5, 0xd3, 0x7e, 0xff,
7081+
+ 0xa7, 0xb7, 0x36, 0xae, 0xcb, 0x97, 0xe4, 0xfb, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xfd, 0xa0,
7082+
+ 0xcf, 0x23, 0x89, 0x0a, 0x00, 0x00,
70837083
}
70847084

70857085
// Reference imports to suppress errors if they are not otherwise used.
@@ -7098,7 +7098,7 @@ index ac0924b2b16..d178c9be619 100644
70987098
+ i = encodeVarintApi(dAtA, i, uint64(size))
70997099
+ }
71007100
+ i--
7101-
+ dAtA[i] = 0x22
7101+
+ dAtA[i] = 0x7a
71027102
+ }
71037103
+ }
71047104
if len(m.Memory) > 0 {
@@ -7189,7 +7189,7 @@ index ac0924b2b16..d178c9be619 100644
71897189
+ i = encodeVarintApi(dAtA, i, uint64(size))
71907190
+ }
71917191
+ i--
7192-
+ dAtA[i] = 0x2a
7192+
+ dAtA[i] = 0x7a
71937193
+ }
71947194
+ }
71957195
if len(m.Memory) > 0 {
@@ -7230,14 +7230,14 @@ index ac0924b2b16..d178c9be619 100644
72307230
if err != nil {
72317231
return 0, err
72327232
}
7233-
@@ -1155,13 +1557,227 @@ func (m *TopologyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
7233+
@@ -1155,13 +1557,66 @@ func (m *TopologyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
72347234
i = encodeVarintApi(dAtA, i, uint64(size))
72357235
}
72367236
i--
72377237
- dAtA[i] = 0xa
72387238
+ dAtA[i] = 0x3a
7239-
+ }
7240-
+ }
7239+
}
7240+
}
72417241
+ if len(m.TopologyAwareQuantityList) > 0 {
72427242
+ for iNdEx := len(m.TopologyAwareQuantityList) - 1; iNdEx >= 0; iNdEx-- {
72437243
+ {
@@ -7280,7 +7280,7 @@ index ac0924b2b16..d178c9be619 100644
72807280
+ dAtA[i] = 1
72817281
+ } else {
72827282
+ dAtA[i] = 0
7283-
}
7283+
+ }
72847284
+ i--
72857285
+ dAtA[i] = 0x10
72867286
+ }
@@ -7290,21 +7290,20 @@ index ac0924b2b16..d178c9be619 100644
72907290
+ i = encodeVarintApi(dAtA, i, uint64(len(m.ResourceName)))
72917291
+ i--
72927292
+ dAtA[i] = 0xa
7293-
}
7293+
+ }
72947294
return len(dAtA) - i, nil
72957295
}
72967296

72977297
-func (m *NUMANode) Marshal() (dAtA []byte, err error) {
72987298
+func (m *AllocatableTopologyAwareResource) Marshal() (dAtA []byte, err error) {
7299-
+ size := m.Size()
7300-
+ dAtA = make([]byte, size)
7301-
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
7302-
+ if err != nil {
7303-
+ return nil, err
7304-
+ }
7305-
+ return dAtA[:n], nil
7306-
+}
7307-
+
7299+
size := m.Size()
7300+
dAtA = make([]byte, size)
7301+
n, err := m.MarshalToSizedBuffer(dAtA[:size])
7302+
@@ -1171,7 +1626,168 @@ func (m *NUMANode) Marshal() (dAtA []byte, err error) {
7303+
return dAtA[:n], nil
7304+
}
7305+
7306+
-func (m *NUMANode) MarshalTo(dAtA []byte) (int, error) {
73087307
+func (m *AllocatableTopologyAwareResource) MarshalTo(dAtA []byte) (int, error) {
73097308
+ size := m.Size()
73107309
+ return m.MarshalToSizedBuffer(dAtA[:size])
@@ -7457,9 +7456,19 @@ index ac0924b2b16..d178c9be619 100644
74577456
+}
74587457
+
74597458
+func (m *NUMANode) Marshal() (dAtA []byte, err error) {
7459+
+ size := m.Size()
7460+
+ dAtA = make([]byte, size)
7461+
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
7462+
+ if err != nil {
7463+
+ return nil, err
7464+
+ }
7465+
+ return dAtA[:n], nil
7466+
+}
7467+
+
7468+
+func (m *NUMANode) MarshalTo(dAtA []byte) (int, error) {
74607469
size := m.Size()
7461-
dAtA = make([]byte, size)
7462-
n, err := m.MarshalToSizedBuffer(dAtA[:size])
7470+
return m.MarshalToSizedBuffer(dAtA[:size])
7471+
}
74637472
@@ -1234,6 +1850,12 @@ func (m *AllocatableResourcesResponse) Size() (n int) {
74647473
n += 1 + l + sovApi(uint64(l))
74657474
}
@@ -7768,7 +7777,7 @@ index ac0924b2b16..d178c9be619 100644
77687777
- skippy, err := skipApi(dAtA[iNdEx:])
77697778
- if err != nil {
77707779
- return err
7771-
+ case 4:
7780+
+ case 15:
77727781
+ if wireType != 2 {
77737782
+ return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
77747783
}
@@ -8164,12 +8173,13 @@ index ac0924b2b16..d178c9be619 100644
81648173
- skippy, err := skipApi(dAtA[iNdEx:])
81658174
- if err != nil {
81668175
- return err
8167-
+ case 5:
8168-
+ if wireType != 2 {
8169-
+ return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
8170-
}
8176+
- }
81718177
- if (skippy < 0) || (iNdEx+skippy) < 0 {
81728178
- return ErrInvalidLengthApi
8179+
+ case 15:
8180+
+ if wireType != 2 {
8181+
+ return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
8182+
+ }
81738183
+ var msglen int
81748184
+ for shift := uint(0); ; shift += 7 {
81758185
+ if shift >= 64 {
@@ -8723,14 +8733,14 @@ index ac0924b2b16..d178c9be619 100644
87238733
l := len(dAtA)
87248734
iNdEx := 0
87258735
diff --git a/staging/src/k8s.io/kubelet/pkg/apis/podresources/v1/api.proto b/staging/src/k8s.io/kubelet/pkg/apis/podresources/v1/api.proto
8726-
index add2aad4874..d3610d2a853 100644
8736+
index add2aad4874..115ef896608 100644
87278737
--- a/staging/src/k8s.io/kubelet/pkg/apis/podresources/v1/api.proto
87288738
+++ b/staging/src/k8s.io/kubelet/pkg/apis/podresources/v1/api.proto
87298739
@@ -28,6 +28,7 @@ message AllocatableResourcesResponse {
87308740
repeated ContainerDevices devices = 1;
87318741
repeated int64 cpu_ids = 2;
87328742
repeated ContainerMemory memory = 3;
8733-
+ repeated AllocatableTopologyAwareResource resources = 4;
8743+
+ repeated AllocatableTopologyAwareResource resources = 15;
87348744
}
87358745

87368746
// ListPodResourcesRequest is the request made to the PodResourcesLister service
@@ -8751,7 +8761,7 @@ index add2aad4874..d3610d2a853 100644
87518761
repeated ContainerDevices devices = 2;
87528762
repeated int64 cpu_ids = 3;
87538763
repeated ContainerMemory memory = 4;
8754-
+ repeated TopologyAwareResource resources = 5;
8764+
+ repeated TopologyAwareResource resources = 15;
87558765
}
87568766

87578767
// ContainerMemory contains information about memory and hugepages assigned to a container

0 commit comments

Comments
 (0)