Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
1827276
systemctl enable nodelet on centos
xagent003 Nov 10, 2022
9d26301
Update README.md
xagent003 Nov 16, 2022
041d3a8
Minor nodeletctl code reorg
xagent003 Nov 14, 2022
9bf86bf
Dualstack ipv4 ipv6
xagent003 Nov 18, 2022
ae0fee2
Use local sunpike for dualstack testing
xagent003 Nov 19, 2022
e3e3a20
Go mod tidy + vendor + update go to 1.18 in go.mod
xagent003 Nov 19, 2022
650578d
Fix typos
xagent003 Nov 20, 2022
b9516b5
Add ipv6 dualstack addr to kubelet and etcd SANS
xagent003 Nov 21, 2022
8c61030
Upgrade CoreDNS to 1.8.6 - for dualstack support
xagent003 Dec 3, 2022
6ac1b0a
Add Calico typha autoscaler
xagent003 Dec 5, 2022
6d5dc03
Fix CoreDNS services cidr for IPv6 only after dualstack changes
xagent003 Dec 6, 2022
e392200
Update sunpike dependency to latest to pickup Dualstack Host changes
xagent003 Dec 6, 2022
d921336
Change typha maxUnavailable to 1 from 75%
xagent003 Dec 7, 2022
1c8ecdb
Update vendor directory
xagent003 Dec 7, 2022
273d3e8
Set both MasterIps for singlestack ipv6 for backwards compatability
xagent003 Dec 7, 2022
2ab30c8
AIR-689 Fix DNS IP on v4 only deployments (#90)
mithilarun Dec 9, 2022
b62df27
AIR-549 Changes for DDU deployment with non-root user.
vedantjoshi84 Dec 12, 2022
f480b5e
AIR-549 Minor stmt update.
vedantjoshi84 Dec 12, 2022
ea54c82
Merge pull request #91 from platform9/private/vjoshi/v1.0/AIR-549
vedantjoshi84 Dec 13, 2022
16a6d0a
Changes for the non root user setup.
vedantjoshi84 Dec 14, 2022
2fe92ab
Making changes for generating node state dir.
vedantjoshi84 Dec 14, 2022
e506e97
Updating the file permissions.
vedantjoshi84 Dec 15, 2022
88ee1fc
Update config.go
vedantjoshi84 Dec 15, 2022
3d9719b
Merge pull request #92 from platform9/private/vjoshi/v1.0/rootless
vedantjoshi84 Dec 15, 2022
caff1af
Updating permissions to create certs dir.
vedantjoshi84 Dec 15, 2022
1861e53
Merge pull request #93 from platform9/private/vjoshi/v1.0/non-root
vedantjoshi84 Dec 15, 2022
e0e0aeb
Set correct ownership post create cluster
supreeth90 Dec 15, 2022
e53fda9
Set correct ownership based on ssh user
supreeth90 Dec 15, 2022
282844a
Refactoring the code.
vedantjoshi84 Dec 16, 2022
8b89a46
Merge pull request #94 from platform9/private/supreeth/non-root-fixes
vedantjoshi84 Dec 16, 2022
2ebd32d
AIR-729 RHEL 8.6 support.
vedantjoshi84 Jan 17, 2023
2e3f191
AIR-729 Adding the iptables-services as requirement.
vedantjoshi84 Jan 18, 2023
a257640
Updating to use latest pf9ctl.
vedantjoshi84 Jan 19, 2023
f06f8c9
Modifying some code.
vedantjoshi84 Jan 19, 2023
d646983
Merge pull request #95 from platform9/private/vjoshi/v1.0/rhel
vedantjoshi84 Jan 19, 2023
0a551a3
Fix master IP for ipv6 only kubeconfig
xagent003 Jan 26, 2023
bebbcdf
Updating nodeletctl to use latest pf9ctl.
vedantjoshi84 Jan 27, 2023
dcb495c
Merge pull request #97 from platform9/private/vjoshi/v1.0/pf9ctl-latest
vedantjoshi84 Jan 27, 2023
8bfe723
AIR-760: Add support for SystemImages in Bootstrap config (#98)
supreeth90 Feb 6, 2023
c7f0fe4
edit .gitignore, stat for userImages
Rohitrajak1807 Mar 1, 2023
9619134
Default IPv4Enabled to false since golang doesn't Marshal back false …
xagent003 Mar 2, 2023
c9dd00a
review comment
Rohitrajak1807 Mar 2, 2023
5143d29
Merge pull request #100 from platform9/private/platform9-v5.6/bp/Rohi…
Rohitrajak1807 Mar 3, 2023
6c510be
AIR-896 Changing permissions of kubeconfig dir.
vedantjoshi84 Mar 3, 2023
016f70d
AIR-896 Removing the execute permission for the config dir.
vedantjoshi84 Mar 6, 2023
c910040
AIR-896 Update comment.
vedantjoshi84 Mar 7, 2023
93b7e24
Merge pull request #102 from platform9/private/vjoshi/v1.0/AIR-896
vedantjoshi84 Mar 7, 2023
94b306b
AIR-764 Configure etcd parameters in nodeletctl (#105)
mithilarun Mar 23, 2023
0ce8a7d
AIR-952 Installing el8 keepalived for RHEL8.6
vedantjoshi84 Mar 29, 2023
f5e7318
AIR-952 Fix keepalived for RHEL8
vedantjoshi84 Mar 30, 2023
aaac54d
AIR-952 Getting VERSION_ID from /etc/release file.
vedantjoshi84 Mar 30, 2023
52a8294
AIR-952 Fixes for nodelet cluster to work on RHEL8.6.
vedantjoshi84 Apr 3, 2023
398cdad
AIR-952 Removing comment.
vedantjoshi84 Apr 4, 2023
4621365
Merge pull request #106 from platform9/private/vjoshi/v1.0/AIR-952
vedantjoshi84 Apr 11, 2023
01d29d7
Switch k8s registry to registry.k8s.io (#108)
mithilarun Jul 1, 2023
18e3da8
Add custom pause image config to containerd (#109)
mithilarun Jul 2, 2023
78df655
Add sandbox image config in golang containerd phase
mithilarun Jul 2, 2023
d635801
Adding IsAirgapped flag in nodelet config
vedantjoshi84 Jul 2, 2023
bd516ff
Merge pull request #110 from platform9/private/vjoshi/atherton/make-c…
cruizen Jul 3, 2023
4687251
Fix issue with sandbox image not being written to config file
mithilarun Jul 3, 2023
7ec8098
Hardcode containerd sandbox image to registry.k8s.io/pause:3.6 (#111)
mithilarun Jul 3, 2023
3080680
Fixing nodelet config param name init
vedantjoshi84 Jul 4, 2023
60a075b
Changing the bootstrap init struct
vedantjoshi84 Jul 4, 2023
e2f8f73
Merge pull request #112 from platform9/private/vjoshi/v1.0/fixing-con…
vedantjoshi84 Jul 5, 2023
798b6fb
remove runAsSudo condition check
Rohitrajak1807 Jul 7, 2023
fbe8bed
Revert "remove runAsSudo condition check"
Rohitrajak1807 Jul 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ build/
*.vscode*
*.code-workspace
*junit.xml

# IDE stuff
.vscode
.idea
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -366,13 +366,15 @@ nerdctl:
KEEPALIVED_DEB_U20 := https://github.com/hnakamur/keepalived-deb/releases/download/debian%2F1%252.1.3-1ubuntu1ppa1-focal/keepalived_2.1.3-1ubuntu1ppa1.focal_amd64.deb
KEEPALIVED_DEB_U18 := https://github.com/hnakamur/keepalived-deb/releases/download/debian%2F1%252.1.3-1ubuntu1ppa1-bionic/keepalived_2.1.3-1ubuntu1ppa1.bionic_amd64.deb
KEEPALIVED_RPM_CENTOS7 := https://github.com/hnakamur/keepalived-rpm/releases/download/2.1.3-1/keepalived-2.1.3-1.el7.x86_64.rpm
KEEPALIVED_RPM_RHEL86 := https://rpmfind.net/linux/centos/8-stream/AppStream/x86_64/os/Packages/keepalived-2.1.5-9.el8.x86_64.rpm

keepalived:
echo "Downloading Keepalived packages"
mkdir -p $(COMMON_SRC_ROOT)${KUBERNETES_EXECUTABLES}/keepalived_packages/
curl --output $(COMMON_SRC_ROOT)${KUBERNETES_EXECUTABLES}/keepalived_packages/keepalived_2.1.3-1ubuntu1ppa1.focal_amd64.deb -L ${KEEPALIVED_DEB_U20}
curl --output $(COMMON_SRC_ROOT)${KUBERNETES_EXECUTABLES}/keepalived_packages/keepalived_2.1.3-1ubuntu1ppa1.bionic_amd64.deb -L ${KEEPALIVED_DEB_U18}
curl --output $(COMMON_SRC_ROOT)${KUBERNETES_EXECUTABLES}/keepalived_packages/keepalived-2.1.3-1.el7.x86_64.rpm -L ${KEEPALIVED_RPM_CENTOS7}
curl --output $(COMMON_SRC_ROOT)${KUBERNETES_EXECUTABLES}/keepalived_packages/keepalived-2.1.5-9.el8.x86_64.rpm -L ${KEEPALIVED_RPM_RHEL86}
# Download Ubuntu 18.04 dependency packages as well
curl --output $(COMMON_SRC_ROOT)${KUBERNETES_EXECUTABLES}/keepalived_packages/libjansson4_2.11-1_amd64.deb -L http://archive.ubuntu.com/ubuntu/pool/main/j/jansson/libjansson4_2.11-1_amd64.deb
curl --output $(COMMON_SRC_ROOT)${KUBERNETES_EXECUTABLES}/keepalived_packages/libnftnl7_1.0.9-2_amd64.deb -L http://archive.ubuntu.com/ubuntu/pool/universe/libn/libnftnl/libnftnl7_1.0.9-2_amd64.deb
Expand Down Expand Up @@ -534,7 +536,7 @@ virtctl:
-include $(ROOT_DIR)/ip_type/Makefile
-include $(ROOT_DIR)/addr_conv/Makefile

jq:
jq:
echo "Downloading jq"
cd ${KUBERNETES_DIR} && \
${WGET_CMD} -O jq -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && \
Expand Down Expand Up @@ -790,4 +792,3 @@ update-supported-version:
echo "promoting to $$s3_roles_root"; \
aws s3 cp --acl public-read $(BUILD_DIR)/artifacts/$(PF9_KUBE_VERSION) $${s3_roles_root}/$(PF9_KUBE_VERSION); \
done

20 changes: 9 additions & 11 deletions nodelet/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/platform9/nodelet/nodelet

go 1.17
go 1.18

require (
github.com/apparentlymart/go-cidr v1.1.0
Expand All @@ -19,7 +19,7 @@ require (
github.com/onsi/gomega v1.10.3
github.com/pkg/errors v0.9.1
github.com/platform9/pf9-qbert/sunpike/apiserver v0.0.0
github.com/platform9/pf9-qbert/sunpike/conductor v0.0.0-20210928133414-c4e8ce211671
github.com/platform9/pf9-qbert/sunpike/conductor v0.0.0-20221207021428-7b763143f9f5
github.com/shipengqi/kube v0.1.1
github.com/sirupsen/logrus v1.8.1
github.com/spf13/cobra v1.2.1
Expand All @@ -39,7 +39,7 @@ require (
require (
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd // indirect
github.com/Microsoft/go-winio v0.5.1 // indirect
github.com/Microsoft/go-winio v0.5.2 // indirect
github.com/Microsoft/hcsshim v0.9.2 // indirect
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
Expand All @@ -48,7 +48,6 @@ require (
github.com/containerd/fifo v1.0.0 // indirect
github.com/containerd/ttrpc v1.1.0 // indirect
github.com/containerd/typeurl v1.0.2 // indirect
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
github.com/erwinvaneyk/cobras v0.0.0-20200914200705-1d2dfabe2493 // indirect
Expand All @@ -60,7 +59,6 @@ require (
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.19.5 // indirect
github.com/go-openapi/swag v0.19.14 // indirect
github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e // indirect
github.com/gogo/googleapis v1.4.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
Expand Down Expand Up @@ -112,7 +110,7 @@ require (
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
Expand All @@ -138,12 +136,12 @@ require (
)

// The replaced version for v0.0.0 should equal the version of github.com/platform9/pf9-qbert/sunpike/conductor
replace github.com/platform9/pf9-qbert/sunpike/apiserver v0.0.0 => github.com/platform9/pf9-qbert/sunpike/apiserver v0.0.0-20210928133414-c4e8ce211671
replace github.com/platform9/pf9-qbert/sunpike/apiserver v0.0.0 => github.com/platform9/pf9-qbert/sunpike/apiserver v0.0.0-20221207021428-7b763143f9f5

// To build/test nodelet with local changes to the sunpike components.
// Uncomment the lines below, and comment out the replace above.
// Do not commit these changes!
// replace (
// github.com/platform9/pf9-qbert/sunpike/apiserver => ../../pf9-qbert/sunpike/apiserver
// github.com/platform9/pf9-qbert/sunpike/conductor => ../../pf9-qbert/sunpike/conductor
// )
//replace (
// github.com/platform9/pf9-qbert/sunpike/apiserver => ../../pf9-qbert/sunpike/apiserver
// github.com/platform9/pf9-qbert/sunpike/conductor => ../../pf9-qbert/sunpike/conductor
//)
Loading