LFX Mentorship 2024_01 test task #5976
Replies: 8 comments 27 replies
-
@antoninbas, Hello I think there might be a slightly mistake here, instead of |
Beta Was this translation helpful? Give feedback.
-
I have applied for LFX mentorship@Antrea. Will be submitting these tasks asap |
Beta Was this translation helpful? Give feedback.
-
will complete the task for #5896 :) |
Beta Was this translation helpful? Give feedback.
-
Hi folks - the submission process via the Antrea maintainers mailing list is not working great. So we are now asking everyone to leave a comment on this discussion with their submission info instead. Sorry for the inconvenience. I will reach out directly to people who have already submitted. The description above has been updated to reflect that. |
Beta Was this translation helpful? Give feedback.
-
Hi @Freedisch, you are a graduated LFX mentee of the LitmusChaos: Improve Chaoscenter Web and Authentication Server: Add Unit Test Cases, Enhance project right? I was wondering if graduated LFX mentees are eligible to apply for further LFX terms. |
Beta Was this translation helpful? Give feedback.
-
@antoninbas @nate-double-u My bad then, I didn't take that information into consideration...therefore, I'm withdrawing my application (which u should be done by now) |
Beta Was this translation helpful? Give feedback.
-
A reminder that the deadline to submit tasks for the Antrea LFX mentorship program is at 5PM PDT today, in about 4 hours |
Beta Was this translation helpful? Give feedback.
-
Thanks everyone who submitted. We are no longer accepting submissions, and we will follow up in a few days after we get a chance to review everything. |
Beta Was this translation helpful? Give feedback.
-
First, we'd like to thank everyone who is interested in taking part to the LFX Mentorship program with us, and we are excited to welcome new contributors to Project Antrea.
We have 3 projects for this iteration of the LFX Mentorship program:
In order to help us find the right candidates, we have prepared some simple tasks. It's a good opportunity for you to get familiar with Antrea, and for us to ensure that you have some of the required skills for a successful mentorship.
Remember to apply at https://lfx.linuxfoundation.org/tools/mentorship/ in addition to completing the appropriate tasks.
Tasks details
For all proposals (
#5514
,#5896
,#4962
)This task needs be performed no matter which one(s) of the project proposals you are applying to.
Steps:
run(o *Options)
function.klog.InfoS
(look at the rest of the source code for examples).klog.InfoS
is a "structured logging" primitive and lets you include key-value pairs with your log message. Your log message should include the following data: 1) your Github username, and 2) the name of the K8s Pod executing the program (antrea-agent and antrea-controller are meant to be run as Pods). Hint: You will need theenv.GetPodName()
function from theantrea.io/antrea/pkg/util/env
package.make
. Again you may find it useful to refer to CONTRIBUTING.md.kubectl
, dump the logs for each antrea Pod (1 controller Pod and 2 agent Pods) and copy the first 10 lines of each log to a local file at the root of the repository: (controller.txt
,agent1.txt
,agent2.txt
). Among the log lines should be the one you added in step 3.antrea-ovs
container of the antrea-agent Pod (any one of them) and find out the version of OVS which is installed, using the appropriate OVS command. Write it to to a local file (ovs-version.txt
) at the root of the repository. To get the OVS version, you will need to use theovs-vsctl
command-line utility (find the documentation online).antctl version
command and write the output toantrea-version.txt
, at the root of the repository.*.txt
files that were created in earlier steps) as a single commit. We ask that you:antrea-lfx-mentorship-2024_01
.If you are only applying for Ability to install / upgrade Antrea using the CLI - #5896, then this is the only task you will need to perform. If you are applying for one of the other 2 projects, you will need to work on an additonal task.
For proposal
#4962
Only perform this task if you are applying for Replace deprecated bincover with golang built-in coverage profiling tool - #4962
Steps:
antrea-lfx-mentorship-2024_01-4962
. Create this new branch, and make sure that it doesn't include changes from other tasks.CGO_ENABLED=0 go build -cover -o bin/my-antctl antrea.io/antrea/cmd/antctl
./bin/my-antctl get controllerinfo
and collect the coverage data in a directory of your choice.controllerinfo.txt
at the root of the repository.go tool covdata
and the coverage data collected in step 5, find the "percent statements covered" for packageantrea.io/antrea/pkg/antctl
. This percentage corresponds to the fraction of statements in the package which were execute when we ran theget controllerinfo
command with the CLI. Write the percentage value (in formatX.Y%
) to filecoverage.txt
at the root of the repository.*.txt
files) and push them to your fork using branch nameantrea-lfx-mentorship-2024_01-4962
. Guidelines for the commit message are the same as for the "common task".For proposal
#5514
Only perform this task if you are applying for East-west connectivity monitoring tool for Pod network - #5514
Steps:
admin
.client/web/antrea-ui/src/routes/summary.tsx
file to add a third "card" container to the Summary page in the UI. The card should include your Github ID. See https://github.com/antrea-io/antrea-ui/assets/2495809/b4f459c8-dda9-4b55-8420-3e0f2fb83080 for an example. Hint: take a look at theComponentSummary
React component, and add a newCdsCard
element to theSummary
component. The change represents ~10 lines of TSX code.screenshot.png
).antrea-lfx-mentorship-2024_01-5514
. Guidelines for the commit message are the same as for the "common task".Submissions
Upon completing the task(s), leave a comment below with the following information:
Make sure that your Github repositories use the correct branch names, as described above for each one of the tasks.
For any queries, please reply reply to this discussion below or post in the
#antrea
channel in the K8s Slack workspace. Do not send emails or DMs to ask for assistance, use public channels only. We are happy to provide some assistance if you get stuck or if some instructions are not clear enough.Deadlines
Tasks Deadline: Submissions must be completed by February 20, 5:00 PM PDT.
LFX Application Deadline: LFX applicants must submit by February 13, 5:00 PM PDT.
Beta Was this translation helpful? Give feedback.
All reactions