Skip to content

Commit 785017e

Browse files
authored
Merge pull request #12143 from tylerauerbeck/deprecate-packet-provider
⚠️ Remove reference and configurations for Packet (Equinix Metal)
2 parents 3fdd752 + f83ac54 commit 785017e

File tree

8 files changed

+2
-63
lines changed

8 files changed

+2
-63
lines changed

cmd/clusterctl/client/config/providers_client.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ const (
5757
NutanixProviderName = "nutanix"
5858
OCIProviderName = "oci"
5959
OpenStackProviderName = "openstack"
60-
PacketProviderName = "packet"
6160
TinkerbellProviderName = "tinkerbell-tinkerbell"
6261
SideroProviderName = "sidero"
6362
VCloudDirectorProviderName = "vcd"
@@ -199,11 +198,6 @@ func (p *providersClient) defaults() []Provider {
199198
url: "https://github.com/kubernetes-sigs/cluster-api-provider-gcp/releases/latest/infrastructure-components.yaml",
200199
providerType: clusterctlv1.InfrastructureProviderType,
201200
},
202-
&provider{
203-
name: PacketProviderName,
204-
url: "https://github.com/kubernetes-sigs/cluster-api-provider-packet/releases/latest/infrastructure-components.yaml",
205-
providerType: clusterctlv1.InfrastructureProviderType,
206-
},
207201
&provider{
208202
name: TinkerbellProviderName,
209203
url: "https://github.com/tinkerbell/cluster-api-provider-tinkerbell/releases/latest/infrastructure-components.yaml",

cmd/clusterctl/client/config_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ func Test_clusterctlClient_GetProvidersConfig(t *testing.T) {
9898
config.OpenNebulaProviderName,
9999
config.OpenStackProviderName,
100100
config.OutscaleProviderName,
101-
config.PacketProviderName,
102101
config.ProxmoxProviderName,
103102
config.SideroProviderName,
104103
config.TinkerbellProviderName,
@@ -166,7 +165,6 @@ func Test_clusterctlClient_GetProvidersConfig(t *testing.T) {
166165
config.OpenNebulaProviderName,
167166
config.OpenStackProviderName,
168167
config.OutscaleProviderName,
169-
config.PacketProviderName,
170168
config.ProxmoxProviderName,
171169
config.SideroProviderName,
172170
config.TinkerbellProviderName,

cmd/clusterctl/cmd/config_repositories_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ oci InfrastructureProvider https://github.com/oracle/clu
144144
opennebula InfrastructureProvider https://github.com/OpenNebula/cluster-api-provider-opennebula/releases/latest/ infrastructure-components.yaml
145145
openstack InfrastructureProvider https://github.com/kubernetes-sigs/cluster-api-provider-openstack/releases/latest/ infrastructure-components.yaml
146146
outscale InfrastructureProvider https://github.com/outscale/cluster-api-provider-outscale/releases/latest/ infrastructure-components.yaml
147-
packet InfrastructureProvider https://github.com/kubernetes-sigs/cluster-api-provider-packet/releases/latest/ infrastructure-components.yaml
148147
proxmox InfrastructureProvider https://github.com/ionos-cloud/cluster-api-provider-proxmox/releases/latest/ infrastructure-components.yaml
149148
sidero InfrastructureProvider https://github.com/siderolabs/sidero/releases/latest/ infrastructure-components.yaml
150149
tinkerbell-tinkerbell InfrastructureProvider https://github.com/tinkerbell/cluster-api-provider-tinkerbell/releases/latest/ infrastructure-components.yaml
@@ -340,10 +339,6 @@ var expectedOutputYaml = `- File: core_components.yaml
340339
Name: outscale
341340
ProviderType: InfrastructureProvider
342341
URL: https://github.com/outscale/cluster-api-provider-outscale/releases/latest/
343-
- File: infrastructure-components.yaml
344-
Name: packet
345-
ProviderType: InfrastructureProvider
346-
URL: https://github.com/kubernetes-sigs/cluster-api-provider-packet/releases/latest/
347342
- File: infrastructure-components.yaml
348343
Name: proxmox
349344
ProviderType: InfrastructureProvider

docs/book/src/developer/providers/contracts/clusterctl.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ providers.
335335
| CAPONE | cluster.x-k8s.io/provider=infrastructure-opennebula |
336336
| CAPO | cluster.x-k8s.io/provider=infrastructure-openstack |
337337
| CAPOCI | cluster.x-k8s.io/provider=infrastructure-oci |
338-
| CAPP | cluster.x-k8s.io/provider=infrastructure-packet |
339338
| CAPT | cluster.x-k8s.io/provider=infrastructure-tinkerbell |
340339
| CAPV | cluster.x-k8s.io/provider=infrastructure-vsphere |
341340
| CAPVC | cluster.x-k8s.io/provider=infrastructure-vcluster |

docs/book/src/reference/providers.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ source of inspiration and ideas for others.
4343
- [CloudStack](https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack)
4444
- [CoxEdge](https://github.com/coxedge/cluster-api-provider-coxedge)
4545
- [DigitalOcean](https://github.com/kubernetes-sigs/cluster-api-provider-digitalocean)
46-
- [Equinix Metal (formerly Packet)](https://github.com/kubernetes-sigs/cluster-api-provider-packet)
4746
- [Google Cloud Platform (GCP)](https://cluster-api-gcp.sigs.k8s.io/)
4847
- [Hetzner](https://github.com/syself/cluster-api-provider-hetzner)
4948
- [Hivelocity](https://github.com/hivelocity/cluster-api-provider-hivelocity)

docs/book/src/user/quick-start.md

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ Additional documentation about experimental features can be found in [Experiment
281281
Depending on the infrastructure provider you are planning to use, some additional prerequisites should be satisfied
282282
before getting started with Cluster API. See below for the expected settings for common providers.
283283
284-
{{#tabs name:"tab-installation-infrastructure" tabs:"Akamai (Linode),AWS,Azure,CloudStack,DigitalOcean,Docker,Equinix Metal,GCP,Harvester,Hetzner,Hivelocity,Huawei,IBM Cloud,IONOS Cloud,K0smotron,KubeKey,KubeVirt,Metal3,Nutanix,OCI,OpenNebula,OpenStack,Outscale,Proxmox,VCD,vcluster,Virtink,vSphere,Vultr"}}
284+
{{#tabs name:"tab-installation-infrastructure" tabs:"Akamai (Linode),AWS,Azure,CloudStack,DigitalOcean,Docker,GCP,Harvester,Hetzner,Hivelocity,Huawei,IBM Cloud,IONOS Cloud,K0smotron,KubeKey,KubeVirt,Metal3,Nutanix,OCI,OpenNebula,OpenStack,Outscale,Proxmox,VCD,vcluster,Virtink,vSphere,Vultr"}}
285285
{{#tab Akamai (Linode)}}
286286
287287
```bash
@@ -547,20 +547,6 @@ export CLUSTER_TOPOLOGY=true
547547
clusterctl init --infrastructure docker
548548
```
549549
550-
{{#/tab }}
551-
{{#tab Equinix Metal}}
552-
553-
In order to initialize the Equinix Metal Provider (formerly Packet) you have to expose the environment
554-
variable `PACKET_API_KEY`. This variable is used to authorize the infrastructure
555-
provider manager against the Equinix Metal API. You can retrieve your token directly
556-
from the Equinix Metal Console.
557-
558-
```bash
559-
export PACKET_API_KEY="34ts3g4s5g45gd45dhdh"
560-
561-
clusterctl init --infrastructure packet
562-
```
563-
564550
{{#/tab }}
565551
{{#tab GCP}}
566552
@@ -916,7 +902,7 @@ before configuring a cluster with Cluster API. Instructions are provided for com
916902
Otherwise, you can look at the `clusterctl generate cluster` [command][clusterctl generate cluster] documentation for details about how to
917903
discover the list of variables required by a cluster templates.
918904
919-
{{#tabs name:"tab-configuration-infrastructure" tabs:"Akamai (Linode),AWS,Azure,CloudStack,DigitalOcean,Docker,Equinix Metal,GCP,Harvester,Huawei,IBM Cloud,IONOS Cloud,K0smotron,KubeKey,KubeVirt,Metal3,Nutanix,OpenNebula,OpenStack,Outscale,Proxmox,Tinkerbell,VCD,vcluster,Virtink,vSphere,Vultr"}}
905+
{{#tabs name:"tab-configuration-infrastructure" tabs:"Akamai (Linode),AWS,Azure,CloudStack,DigitalOcean,Docker,GCP,Harvester,Huawei,IBM Cloud,IONOS Cloud,K0smotron,KubeKey,KubeVirt,Metal3,Nutanix,OpenNebula,OpenStack,Outscale,Proxmox,Tinkerbell,VCD,vcluster,Virtink,vSphere,Vultr"}}
920906
{{#tab Akamai (Linode)}}
921907
922908
```bash
@@ -1046,35 +1032,6 @@ It is also possible but **not recommended** to disable the per-default enabled [
10461032
export POD_SECURITY_STANDARD_ENABLED="false"
10471033
```
10481034
1049-
{{#/tab }}
1050-
{{#tab Equinix Metal}}
1051-
1052-
There are several required variables you need to set to create a cluster. There
1053-
are also a few optional tunables if you'd like to change the OS or CIDRs used.
1054-
1055-
```bash
1056-
# Required (made up examples shown)
1057-
# The project where your cluster will be placed to.
1058-
# You have to get one from the Equinix Metal Console if you don't have one already.
1059-
export PROJECT_ID="2b59569f-10d1-49a6-a000-c2fb95a959a1"
1060-
# This can help to take advantage of automated, interconnected bare metal across our global metros.
1061-
export METRO="da"
1062-
# What plan to use for your control plane nodes
1063-
export CONTROLPLANE_NODE_TYPE="m3.small.x86"
1064-
# What plan to use for your worker nodes
1065-
export WORKER_NODE_TYPE="m3.small.x86"
1066-
# The ssh key you would like to have access to the nodes
1067-
export SSH_KEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDvMgVEubPLztrvVKgNPnRe9sZSjAqaYj9nmCkgr4PdK username@computer"
1068-
export CLUSTER_NAME="my-cluster"
1069-
1070-
# Optional (defaults shown)
1071-
export NODE_OS="ubuntu_18_04"
1072-
export POD_CIDR="192.168.0.0/16"
1073-
export SERVICE_CIDR="172.26.0.0/16"
1074-
# Only relevant if using the kube-vip flavor
1075-
export KUBE_VIP_VERSION="v0.5.0"
1076-
```
1077-
10781035
{{#/tab }}
10791036
{{#tab GCP}}
10801037
@@ -2002,7 +1959,6 @@ kind delete cluster
20021959
[KubeVirt]: https://kubevirt.io/
20031960
[oci-provider]: https://oracle.github.io/cluster-api-provider-oci/#getting-started
20041961
[openstack-resource-controller]: https://k-orc.cloud/
2005-
[Equinix Metal getting started guide]: https://github.com/kubernetes-sigs/cluster-api-provider-packet#using
20061962
[provider]:../reference/providers.md
20071963
[provider components]: ../reference/glossary.md#provider-components
20081964
[vSphere getting started guide]: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/master/docs/getting_started.md

docs/release/role-handbooks/communications/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ We should inform at least the following providers via a new issue on their respe
195195
* OCI: https://github.com/oracle/cluster-api-provider-oci/issues/new
196196
* Openstack: https://github.com/kubernetes-sigs/cluster-api-provider-openstack/issues/new
197197
* Operator: https://github.com/kubernetes-sigs/cluster-api-operator/issues/new
198-
* Packet: https://github.com/kubernetes-sigs/cluster-api-provider-packet/issues/new
199198
* vSphere: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/issues/new
200199

201200
To create GitHub issues at the Cluster API providers repositories and inform about a new minor beta release, use ["provider_issues.go"](../../../../hack/tools/release/internal/update_providers/provider_issues.go) go utility.

hack/tools/release/internal/update_providers/provider_issues.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ var (
5555
"oracle/cluster-api-provider-oci",
5656
"kubernetes-sigs/cluster-api-provider-openstack",
5757
"kubernetes-sigs/cluster-api-operator",
58-
"kubernetes-sigs/cluster-api-provider-packet",
5958
"tinkerbell/cluster-api-provider-tinkerbell",
6059
"kubernetes-sigs/cluster-api-provider-vsphere",
6160
"metal3-io/cluster-api-provider-metal3",

0 commit comments

Comments
 (0)