antrea icon indicating copy to clipboard operation
antrea copied to clipboard

Install script for configuring antrea-agent on VM

Open Anandkumar26 opened this issue 3 years ago • 1 comments

  • Provides install script for both Windows and Linux
  • Expects the user to copy the antrea-agent binary, antrea-agent.conf, antrea-agent.kubeconfig and antrea-agent.antrea.kubeconfig files to the VM.
  • Update the documentation

Linux usage: ./install-vm.sh --ns vm-ns --bin /tmp/antrea-agent --config /tmp/antrea-agent.conf --kubeconfig /tmp/my.kubeconfig --antrea-kubeconfig /tmp/my.antrea.kubeconfig

Windows usage: .\Install-vm.ps1 -NameSpace vm-ns -BinaryPath C:\temp\antrea-agent.conf -ConfigPath C:\temp\antrea-agent.conf -KubeConfigPath C:\temp\my.kubeconfig -AntreaKubeConfigPath C:\temp\my.antrea.kubeconfig

Signed-off-by: kumaranand [email protected]

Anandkumar26 avatar Aug 15 '22 03:08 Anandkumar26

Codecov Report

Merging #4113 (fed9926) into main (727953e) will decrease coverage by 0.27%. The diff coverage is n/a.

:exclamation: Current head fed9926 differs from pull request most recent head 1a62ed6. Consider uploading reports for the commit 1a62ed6 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4113      +/-   ##
==========================================
- Coverage   65.14%   64.87%   -0.28%     
==========================================
  Files         304      306       +2     
  Lines       46769    47813    +1044     
==========================================
+ Hits        30467    31018     +551     
- Misses      13883    14373     +490     
- Partials     2419     2422       +3     
Flag Coverage Δ *Carryforward flag
integration-tests 35.09% <ø> (+0.14%) :arrow_up:
kind-e2e-tests 47.92% <ø> (ø) Carriedforward from 727953e
unit-tests 44.99% <ø> (+1.00%) :arrow_up:

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
...g/controller/networkpolicy/clusternetworkpolicy.go 54.00% <0.00%> (-14.08%) :arrow_down:
pkg/controller/networkpolicy/crd_utils.go 77.14% <0.00%> (-13.90%) :arrow_down:
pkg/flowaggregator/flowaggregator.go 44.33% <0.00%> (-13.84%) :arrow_down:
pkg/agent/config/node_config.go 84.84% <0.00%> (-11.16%) :arrow_down:
...lowaggregator/clickhouseclient/clickhouseclient.go 79.71% <0.00%> (-3.66%) :arrow_down:
...gent/controller/noderoute/node_route_controller.go 57.54% <0.00%> (-1.87%) :arrow_down:
pkg/controller/networkpolicy/clustergroup.go 75.59% <0.00%> (-0.65%) :arrow_down:
pkg/agent/config/traffic_encap_mode.go 100.00% <0.00%> (ø)
pkg/agent/config/traffic_encryption_mode.go 100.00% <0.00%> (ø)
pkg/flowaggregator/exporter/ipfix.go 33.96% <0.00%> (ø)
... and 14 more

codecov[bot] avatar Aug 15 '22 04:08 codecov[bot]

The last comment is changing "NameSpace" to "Namespace" in the script parameter and document. Others LGTM

Discussed offline to resolve the comments and addressed it.

Anandkumar26 avatar Aug 18 '22 03:08 Anandkumar26

Updated the documentation to reflect the change in install script argument. i.e. changed from NameSpace to Namespace

Anandkumar26 avatar Aug 18 '22 03:08 Anandkumar26

/skip-all

tnqn avatar Aug 18 '22 03:08 tnqn