Kubernetes Prow Robot
09bc42e1ea
Merge pull request #1236 from marquiz/release-0.13
...
[release-0.13] Prepare for release 0.13.2
2023-06-01 01:45:47 -07:00
Markus Lehtonen
69f1bf9815
Prepare for release 0.13.2
...
Update references and bump golang to v1.20.4.
Generated with:
hack/prepare-release.sh -g 1.20.4 v0.13.2
2023-05-31 16:19:59 +03:00
Kubernetes Prow Robot
4f4cd46f13
Merge pull request #1233 from marquiz/release-0.13
...
[release-0.13] nfd-master: add validation of label names and values
2023-05-31 05:19:45 -07:00
Markus Lehtonen
5b58574100
nfd-master: add validation of label names and values
...
Validate labels before trying to update the node. Makes us fail early
nad prevent useless retries in case invalid labels are tried.
(backported from commit 2a3c7e4c93
)
2023-05-31 14:30:44 +03:00
Kubernetes Prow Robot
22916e62ab
Merge pull request #1224 from marquiz/release-0.13
...
[release-0.13] go.mod: bump kubernetes to v1.26.5
2023-05-22 18:38:20 -07:00
Markus Lehtonen
ca10c119c8
go.mod: bump kubernetes to v1.26.5
2023-05-22 19:14:09 +03:00
Kubernetes Prow Robot
3c8d575e79
Merge pull request #1215 from k8s-infra-cherrypick-robot/cherry-pick-1213-to-release-0.13
...
[release-0.13] deployment/helm: user dedicated serviceaccount for topology-updater
2023-05-05 00:57:19 -07:00
Kubernetes Prow Robot
82eb21ac5f
Merge pull request #1214 from k8s-infra-cherrypick-robot/cherry-pick-1212-to-release-0.13
...
[release-0.13] deployment/helm: avoid overlapping mount paths on topology-updater
2023-05-05 00:57:13 -07:00
Kubernetes Prow Robot
62715b2856
Merge pull request #1217 from k8s-infra-cherrypick-robot/cherry-pick-1211-to-release-0.13
...
[release-0.13] deployment/helm: improve handling of topologyUpdater.kubeletStateFiles
2023-05-05 00:47:13 -07:00
Markus Lehtonen
1080d00026
deployment/helm: improve handling of topologyUpdater.kubeletStateFiles
...
Make it possible to disable kubelet state tracking with
--set topologyUpdater.kubeletStateFiles="" as the documentation
suggests.
Also, fix the documentation regarding the default value of
topologyUpdater.kubeletStateFiles parameter.
2023-05-05 07:17:48 +00:00
Markus Lehtonen
408ab15e05
deployment/helm: user dedicated serviceaccount for topology-updater
...
Change the configuration so that, by default, we use a dedicated
serviceaccount for topology-updater (similar to topology-gc, nfd-master
and nfd-worker).
Fix the templates so that the serviceaccount and clusterrolebinding are
only created when topology-updater is enabled (clusterrole was already
handled this way).
This patch also correctly documents the default value of rbac.create
parameter of topology-updater and topology-gc.
2023-05-05 07:09:55 +00:00
Markus Lehtonen
e0ad8e5055
deployment/helm: avoid overlapping mount paths on topology-updater
...
Mount kubelet podresources socket on an independent path, not under
with the kubelet state directory. Otherwise container creation may fail
on mount creation if topologyUpdater.kubeletPodResourcesSockPath and/or
topologyUpdater.kubeletConfigPath Helm parameters are specified in a
certain way.
2023-05-05 07:09:54 +00:00
Kubernetes Prow Robot
a443406f4f
Merge pull request #1209 from k8s-infra-cherrypick-robot/cherry-pick-1207-to-release-0.13
...
[release-0.13] deployment/helm: fix default for kubeletStateDir parameter
2023-05-04 05:16:42 -07:00
Kubernetes Prow Robot
0eae8d4812
Merge pull request #1210 from k8s-infra-cherrypick-robot/cherry-pick-1208-to-release-0.13
...
[release-0.13] deployment/kustomize: drop pod-resources mount for topology-updater
2023-05-04 05:06:42 -07:00
Markus Lehtonen
94b4198e67
deployment/kustomize: drop pod-resources mount for topology-updater
...
This mount is redundant as it's already included in the kubelet state
files (/var/lib/kubelet) mount.
2023-05-04 09:03:18 +00:00
Markus Lehtonen
a46a0fec7e
deployment/helm: fix default for kubeletStateDir parameter
...
This parameter is a path in the host system, not a mount path inside the
container.
2023-05-04 08:55:25 +00:00
Kubernetes Prow Robot
aab588fcac
Merge pull request #1205 from marquiz/release-0.13
...
[release-0.13] helm: fix mount for nfd-master config
2023-05-02 01:12:12 -07:00
Markus Lehtonen
2ca698a8d1
helm: fix mount for nfd-master config
...
Volume/mount setup for the ConfigMap was erroneously inside conditionals
so it was not mounted unless TLS was enabled.
(cherry picked from commit b016def8a3
)
2023-05-02 10:55:43 +03:00
Kubernetes Prow Robot
2ef779e248
Merge pull request #1195 from ArangoGutierrez/release-0.13.1
...
Release v0.13.1 cut
2023-04-26 02:18:16 -07:00
Carlos Eduardo Arango Gutierrez
15df3c1ad3
Release v0.13.1 cut
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-04-26 11:08:40 +02:00
Kubernetes Prow Robot
52d8168341
Merge pull request #1183 from k8s-infra-cherrypick-robot/cherry-pick-1167-to-release-0.13
...
[release-0.13] nfd-topology-updater: fix wrong kubelet_internal_checkpoint path and compare basename to full path
2023-04-24 05:23:01 -07:00
pprokop
85a88abdd3
nfd-topology-updater: fix kubelet state file notifier
...
- kubelet_internal_checkpoint file is in /var/lib/kubelet/device-plugins not /var/lib/kubelet
fsWatcher doesn't watch dirs recursively
- e.Name returned from fsWatcher events is a full path not a basename
Signed-off-by: pprokop <pprokop@nvidia.com>
2023-04-24 11:41:38 +00:00
Kubernetes Prow Robot
95d243aa38
Merge pull request #1174 from k8s-infra-cherrypick-robot/cherry-pick-1173-to-release-0.13
...
[release-0.13] nfd-master: fix a crash when processing NodeFeatureRules
2023-04-24 01:36:09 -07:00
Kubernetes Prow Robot
103315fbb8
Merge pull request #1179 from k8s-infra-cherrypick-robot/cherry-pick-1169-to-release-0.13
...
[release-0.13] nfd-master: reject malformed extended resource dynamic capacity assignment
2023-04-24 00:33:16 -07:00
Carlos Eduardo Arango Gutierrez
978a07da1c
nfd-master: reject malformed extended resource dynamic capacity assignment
...
Reject malformed extended resource dynamic capacity assignment
capacity should be in the form of domain.feature.element,
add logic at func filterExtendedResources to check if true or ignore
ExtendedResource, logging as an error.
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-04-24 07:17:58 +00:00
Kubernetes Prow Robot
7bc8829d30
Merge pull request #1165 from k8s-infra-cherrypick-robot/cherry-pick-1160-to-release-0.13
...
[release-0.13] nfd-master: fix -prune
2023-04-21 23:53:14 -07:00
Kubernetes Prow Robot
f6095732b9
Merge pull request #1177 from k8s-infra-cherrypick-robot/cherry-pick-1171-to-release-0.13
...
[release-0.13] pkg/nfd-master/nfd-master.go: Fix typo
2023-04-21 23:29:14 -07:00
Carlos Eduardo Arango Gutierrez
32510925b0
pkg/nfd-master/nfd-master.go: Fix typo
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-04-21 19:21:47 +00:00
Markus Lehtonen
6160e80161
nfd-master: fix a crash when processing NodeFeatureRules
...
Fix a a bug where nfd-master with NodeFeature API enabled would crash
when NodeFeatureRule objects were processed in the case where no
NodeFeature objects existed. This was caused by trying to insert values
into a non-initialized NodeFeatureSpec in the code.
This patch adds two safety measures to prevent that from happening in
the future. First, add a constructor function for the NodeFeatureSpec
type, and second, check for uninitialized object in the function
inserting new functions.
TODO: add unit tests for the API helper functions.
2023-04-21 16:49:47 +00:00
Markus Lehtonen
ce518a5db8
deployment/kustomize: add master config to prune overlay
...
Otherwise pods error out with failed mount of nfd-master-conf ConfigMap.
2023-04-21 12:11:47 +00:00
Markus Lehtonen
d81de73c71
nfd-master: configure before prune
...
Otherwise prune will crash because of uninitialized configuration.
2023-04-21 12:11:47 +00:00
Kubernetes Prow Robot
b72a409b07
Merge pull request #1163 from k8s-infra-cherrypick-robot/cherry-pick-1161-to-release-0.13
...
[release-0.13] nfd-master: support noPublish with -prune
2023-04-20 00:49:11 -07:00
Markus Lehtonen
268a2f4c3b
nfd-master: support noPublish with -prune
...
Better this way than to crash which is what currently happens with this
combination.
2023-04-20 10:13:48 +03:00
Kubernetes Prow Robot
9697ffe130
Merge pull request #1152 from marquiz/release-0.13
...
[release-0.13] Update references to release v0.13.0
2023-04-18 02:18:57 -07:00
Markus Lehtonen
7a9990f7b0
Update references to release v0.13.0
...
Bump Golang builder image to v1.20.3.
Generated with:
hack/prepare-release.sh -g 1.20.3 v0.13.0
2023-04-18 08:01:17 +03:00
Kubernetes Prow Robot
8592f3ea8d
Merge pull request #1151 from marquiz/devel/hack
...
hack/prepare-release.sh: fix name of one e2e test file
2023-04-17 21:58:57 -07:00
Markus Lehtonen
e5d83d031b
hack/prepare-release.sh: fix name of one e2e test file
2023-04-17 23:43:49 +03:00
Kubernetes Prow Robot
b0c52fe28f
Merge pull request #1149 from ArangoGutierrez/sev_capacity
...
cpu: expose the total number of AMD SEV ASID and ES
2023-04-17 13:22:58 -07:00
Carlos Eduardo Arango Gutierrez
05ef5d4e9d
cpu: expose the total number of AMD SEV ASID and ES
...
This patch add SEV ASIDs and the related (but distinct) SEV Encrypted State
(SEV-ES) IDs as two quantities to be exposed via extended resources.
In a kernel built with CONFIG_CGROUP_MISC on a suitably equipped AMD CPU, the
root control group will have a misc.capacity file that shows the number of
available IDs in each category.
The added extended resources are:
- sev.asids
- sev.encrypted_state_ids
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-04-17 19:34:39 +02:00
Kubernetes Prow Robot
df584e03ed
Merge pull request #1145 from marquiz/devel/grpc-probe
...
Dockerfile: bump grpc-health-probe to v0.4.18
2023-04-17 05:28:43 -07:00
Markus Lehtonen
ecc242d78a
Dockerfile: bump grpc-health-probe to v0.4.18
...
A new version that was just released.
2023-04-17 14:30:08 +03:00
Kubernetes Prow Robot
ca59fc0594
Merge pull request #1140 from marquiz/devel/owners
...
OWNERS: add PiotrProkop as a reviewer
2023-04-17 03:22:43 -07:00
Markus Lehtonen
57e21969d0
OWNERS: add PiotrProkop as a reviewer
2023-04-17 12:58:16 +03:00
Kubernetes Prow Robot
018cd33306
Merge pull request #1095 from fmuyassarov/codecov-uploader
...
e2e: add codecov uploader configuration
2023-04-14 14:30:41 -07:00
Kubernetes Prow Robot
fef5e56051
Merge pull request #1129 from mythi/sgx-epc
...
cpu: Expose SGX EPC resource
2023-04-14 10:42:41 -07:00
Mikko Ylinen
de1b69a8bf
cpu: make SGX EPC resource available to NodeFeatureRules
...
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-04-14 15:31:54 +03:00
Kubernetes Prow Robot
cb604b877c
Merge pull request #1130 from marquiz/devel/tdx
...
source/cpu: don't create cpu-security.tdx.total_keys label
2023-04-14 04:18:41 -07:00
Markus Lehtonen
3320c74472
source/cpu: don't create cpu-security.tdx.total_keys label
...
Just have that as a feature for NodeFeatureRules to consume.
2023-04-14 13:33:13 +03:00
Kubernetes Prow Robot
84c348b69f
Merge pull request #1126 from marquiz/devel/er-deprecation
...
nfd-master: deprecate the -resource-labels flag
2023-04-13 10:52:39 -07:00
Kubernetes Prow Robot
8d71ed6755
Merge pull request #1086 from AhmedGrati/feat-support-builtin-kernel-mods
...
feat: support builtin kernel mods
2023-04-13 10:30:40 -07:00