Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sfptpd:stable tag, imagePullPolicy, bundle #124

Merged
merged 3 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions bundle/manifests/onload-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ metadata:
},
"spec": {
"devicePlugin": {
"imagePullPolicy": "Always"
"imagePullPolicy": "IfNotPresent"
},
"onload": {
"imagePullPolicy": "Always",
"imagePullPolicy": "IfNotPresent",
"kernelMappings": [
{
"build": {
Expand Down Expand Up @@ -51,7 +51,7 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2024-01-03T12:34:25Z"
createdAt: "2024-01-17T09:24:35Z"
operators.operatorframework.io/builder: operator-sdk-v1.31.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
name: onload-operator.v3.0.0
Expand Down Expand Up @@ -177,6 +177,19 @@ spec:
labels:
control-plane: controller-manager
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- amd64
- key: kubernetes.io/os
operator: In
values:
- linux
containers:
- args:
- --leader-elect
Expand Down
14 changes: 14 additions & 0 deletions bundle/manifests/onload.amd.com_onloads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,20 @@ spec:
description: Onload is the specification of the version of Onload
to be used by this CR
properties:
controlPlane:
description: ControlPlane allows fine-tuning of the Onload control
plane server.
properties:
parameters:
default:
- -K
description: Parameters is an optional list of parameters
passed to the Onload control plane server when launched
by the Onload kernel module.
items:
type: string
type: array
type: object
imagePullPolicy:
description: 'ImagePullPolicy is the policy used when pulling
images. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images'
Expand Down
4 changes: 2 additions & 2 deletions config/samples/onload/base/onload_v1alpha1_onload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ spec:
version: # eg. 8.0.0.0

# ImagePullPolicy is the policy used when pulling images. Optional.
imagePullPolicy: Always
imagePullPolicy: IfNotPresent

# ControlPlane allows fine-tuning of the Onload control plane server.
# Optional.
Expand All @@ -96,7 +96,7 @@ spec:
devicePlugin:

# ImagePullPolicy is the policy used when pulling images. Optional.
imagePullPolicy: Always
imagePullPolicy: IfNotPresent

# MaxPodsPerNode is the number of Kubernetes devices that the Onload Device
# Plugin should register with the kubelet. Notionally this is equivalent to
Expand Down
2 changes: 0 additions & 2 deletions config/samples/sfnettest/client-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ spec:
- name: onload-sfnettest-server
# The image's default entrypoint is a sfnt-pingpong server
image: docker.io/onload/sfnettest:1.6.0-rc2
imagePullPolicy: Always
resources:
limits:
amd.com/onload: 1
Expand Down Expand Up @@ -53,7 +52,6 @@ spec:
containers:
- name: onload-sfnettest-client
image: docker.io/onload/sfnettest:1.6.0-rc2
imagePullPolicy: Always
command:
- /bin/sh
- -c
Expand Down
2 changes: 1 addition & 1 deletion config/samples/sfptpd/base/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
nodeSelector:
node-role.kubernetes.io/worker: ""
containers:
- image: onload/sfptpd:latest
- image: onload/sfptpd:stable
name: sfptpd
imagePullPolicy: Always
volumeMounts:
Expand Down
Loading