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

[WIP][DO NOT MERGE] l3afd in Kubernetes #382

Closed
wants to merge 3 commits into from
Closed

Conversation

aojea
Copy link

@aojea aojea commented May 11, 2024

This is a very basic installation manifest using my own repo just only for demo purposes, the project should host the docker images , I can help to set up this infra too

To try just do kubectl apply -f install.yaml and it will install the l3eafd daemon in all the nodes

kubectl -n kube-system get ds l3afd -o wide
NAME    DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE     CONTAINERS   IMAGES               SELECTOR
l3afd   3         3         3       3            3           <none>          8m43s   l3afd        aojea/l3afd:v2.0.0   app=l3afd

The configuration is shared across the nodes via a configmap that is mounted in all the pods

 kubectl -n kube-system get cm l3afd
NAME    DATA   AGE
l3afd   1      9m29s

ARG VERSION="2.0.0"


FROM golang:1.22 AS builder

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 7: containerImage not pinned by hash
Click Remediation section below to solve this issue
"-X main.Version=${VERSION} \
-X main.VersionSHA=`git rev-parse HEAD`"

FROM gcr.io/distroless/static-debian12

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 7: containerImage not pinned by hash
Remediation tip: pin your Docker image by updating gcr.io/distroless/static-debian12 to gcr.io/distroless/static-debian12@sha256:41972110a1c1a5c0b6adb283e8aa092c43c31f7c5d79b8656fbffff2c3e61f05
Click Remediation section below for further remediation help
@sanfern sanfern changed the title [WIP][DO NOT MERGE] l3eafd in Kubernetes [WIP][DO NOT MERGE] l3afd in Kubernetes May 11, 2024
@aojea aojea closed this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant