Skip to content

deploy kops discovery server#9149

Merged
k8s-ci-robot merged 1 commit into
kubernetes:mainfrom
ameukam:kops-discovery-server-deploy
Feb 26, 2026
Merged

deploy kops discovery server#9149
k8s-ci-robot merged 1 commit into
kubernetes:mainfrom
ameukam:kops-discovery-server-deploy

Conversation

@ameukam
Copy link
Copy Markdown
Member

@ameukam ameukam commented Feb 26, 2026

Related:
 - kubernetes#8960

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
@k8s-ci-robot k8s-ci-robot added area/prow Setting up or working with prow in general, prow.k8s.io, prow build clusters sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 26, 2026
@ameukam
Copy link
Copy Markdown
Member Author

ameukam commented Feb 26, 2026

/assign @upodroid @justinsb
cc @hakman

@k8s-infra-ci-robot
Copy link
Copy Markdown
Contributor

Argo CD Diff Preview

Summary:

Total: 1 files changed

Added (1):
+ kops-discovery (+117)
kops-discovery (kubernetes/apps/kops-discovery.yaml)
@@ Application added: kops-discovery (kubernetes/apps/kops-discovery.yaml) @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  labels:
+    app: kops-discovery
+  name: kops-discovery
+  namespace: kops-discovery
+spec:
+  replicas: 2
+  selector:
+    matchLabels:
+      app: kops-discovery
+  strategy:
+    rollingUpdate:
+      maxSurge: 1
+      maxUnavailable: 1
+    type: RollingUpdate
+  template:
+    metadata:
+      labels:
+        app: kops-discovery
+    spec:
+      containers:
+      - args:
+        - --listen=:8443
+        - --storage=memory
+        image: registry.k8s.io/kops/discovery-server:1.35.0-beta.1
+        livenessProbe:
+          failureThreshold: 3
+          initialDelaySeconds: 10
+          periodSeconds: 10
+          tcpSocket:
+            port: 8443
+          timeoutSeconds: 5
+        name: discovery-server
+        ports:
+        - containerPort: 8443
+          name: https
+          protocol: TCP
+        readinessProbe:
+          failureThreshold: 3
+          initialDelaySeconds: 5
+          periodSeconds: 5
+          tcpSocket:
+            port: 8443
+          timeoutSeconds: 3
+        resources:
+          limits:
+            cpu: 500m
+            memory: 256Mi
+          requests:
+            cpu: 100m
+            memory: 128Mi
+        securityContext:
+          allowPrivilegeEscalation: false
+          capabilities:
+            drop:
+            - ALL
+          readOnlyRootFilesystem: true
+      securityContext:
+        runAsNonRoot: true
+        seccompProfile:
+          type: RuntimeDefault
+      serviceAccountName: kops-discovery
+      terminationGracePeriodSeconds: 30
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: Role
+metadata:
+  name: kops-discovery
+  namespace: kops-discovery
+rules:
+- apiGroups:
+  - ""
+  resources:
+  - configmaps
+  verbs:
+  - get
+  - list
+  - watch
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: RoleBinding
+metadata:
+  name: kops-discovery
+  namespace: kops-discovery
+roleRef:
+  apiGroup: rbac.authorization.k8s.io
+  kind: Role
+  name: kops-discovery
+subjects:
+- kind: ServiceAccount
+  name: kops-discovery
+  namespace: kops-discovery
+---
+apiVersion: v1
+kind: Service
+metadata:
+  labels:
+    app: kops-discovery
+  name: kops-discovery
+  namespace: kops-discovery
+spec:
+  ports:
+  - name: https
+    port: 443
+    protocol: TCP
+    targetPort: 8443
+  selector:
+    app: kops-discovery
+  type: ClusterIP
+---
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+  name: kops-discovery
+  namespace: kops-discovery

Stats:
[Applications: 75], [Full Run: 1m40s], [Rendering: 1m32s], [Cluster: 0s], [Argo CD: 3s]

Copy link
Copy Markdown
Member

@justinsb justinsb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 26, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ameukam, justinsb

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 8506ecc into kubernetes:main Feb 26, 2026
8 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.36 milestone Feb 26, 2026
@ameukam
Copy link
Copy Markdown
Member Author

ameukam commented Feb 27, 2026

@upodroid I don't see the Application on argo ? Is there a manual step missing ?

@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot to add it to the kustomization.yaml in this folder.

ameukam added a commit to ameukam/k8s.io that referenced this pull request Feb 27, 2026
Follow-up of:
  - kubernetes#9149

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
ameukam added a commit to ameukam/k8s.io that referenced this pull request Mar 4, 2026
Follow-up of:
  - kubernetes#9149

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
@ameukam ameukam deleted the kops-discovery-server-deploy branch May 25, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/prow Setting up or working with prow in general, prow.k8s.io, prow build clusters cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants