You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+33-12Lines changed: 33 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,7 @@ This is the official [cluster-api](https://github.com/kubernetes-sigs/cluster-ap
10
10
11
11

12
12
13
-
14
-
### Requirements
13
+
## Requirements
15
14
16
15
To use the cluster-api to deploy a Kubernetes cluster to Equinix Metal, you need the following:
17
16
@@ -27,11 +26,11 @@ and [k3d](https://github.com/rancher/k3d).
27
26
28
27
Once you have your cluster, ensure your `KUBECONFIG` environment variable is set correctly.
29
28
30
-
###Getting Started
29
+
## Getting Started
31
30
32
31
You should then follow the [Cluster API Quick Start Guide](https://cluster-api.sigs.k8s.io/user/quick-start.html), selecting the 'Equinix Metal' tabs where offered.
33
32
34
-
####Defaults
33
+
### Defaults
35
34
36
35
If you do not change the generated `yaml` files, it will use defaults. You can look in the [templates/cluster-template.yaml](./templates/cluster-template.yaml) file for details.
37
36
@@ -42,30 +41,52 @@ If you do not change the generated `yaml` files, it will use defaults. You can l
42
41
*`POD_CIDR` (defaults to `192.168.0.0/16`)
43
42
*`SERVICE_CIDR` (defaults to `172.26.0.0/16`)
44
43
*`WORKER_MACHINE_COUNT` (defaults to `0`)
44
+
45
+
### Reserved Hardware
46
+
47
+
If you'd like to use reserved instances for your cluster, you need to edit your cluster yaml and add a hardwareReservationID field to your PacketMachineTemplates. That field can contain either a comma-separated list of hardware reservation IDs you'd like to use (which will cause it to ignore the facility and machineType you've specified), or just "next-available" to let the controller pick one that's available (that matches the machineType and facility you've specified). Here's an example:
#Or let the controller pick from available reserved hardware in the project that matches machineType and facility with `next-available`
67
+
#hardwareReservationID: "next-available"
68
+
```
45
69
46
70
## Community, discussion, contribution, and support
47
71
48
72
Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/).
49
73
74
+
Equinix has a [cluster-api guide](https://metal.equinix.com/developers/guides/kubernetes-cluster-api/)
75
+
50
76
You can reach the maintainers of this project at:
51
77
52
-
* Chat with us on [Slack](http://slack.k8s.io/) in the [#cluster-api-provider-packet][#cluster-api-provider-packet slack] channel
78
+
* Chat with us on [Slack](http://slack.k8s.io/) in the [#cluster-api-provider-packet](https://kubernetes.slack.com/archives/C8TSNPY4T) channel
53
79
* Subscribe to the [SIG Cluster Lifecycle](https://groups.google.com/forum/#!forum/kubernetes-sig-cluster-lifecycle) Google Group for access to documents and calendars
54
80
55
-
56
81
## Development and Customizations
82
+
57
83
The following section describes how to use the cluster-api provider for packet (CAPP) as a regular user.
58
84
You do _not_ need to clone this repository, or install any special tools, other than the standard
59
85
`kubectl` and `clusterctl`; see below.
60
86
61
87
* To build CAPP and to deploy individual components, see [docs/BUILD.md](./docs/BUILD.md).
62
88
* To build CAPP and to cut a proper release, see [docs/RELEASE.md](./docs/RELEASE.md).
63
89
64
-
65
-
### Code of conduct
90
+
## Code of conduct
66
91
67
92
Participation in the Kubernetes community is governed by the [Kubernetes Code of Conduct](code-of-conduct.md).
It is a [Kubernetes Custom Resource Definition (CRD)](openapi-types) as everything
22
+
It is a [Kubernetes Custom Resource Definition (CRD)](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/) as everything
23
23
else in the cluster-api land.
24
24
25
25
The reported fields in the example are the most common one but you can see the
26
26
full list of supported parameters as part of the OpenAPI definition available
The `PacketMachine`, `PacketCluster`, and `PacketMachineTemplate` CRD specs are also documented at [docs.crds.dev](https://doc.crds.dev/github.com/kubernetes-sigs/cluster-api-provider-packet).
31
-
32
-
## Reserved instances
33
-
34
-
Packet provides the possibility to [reserve
35
-
hardware](equinix-metal-docs-reserved-hardware) in order to have to power you need
36
-
always available.
37
-
38
-
> Reserved hardware gives you the ability to reserve specific servers for a
39
-
> committed period of time. Unlike hourly on-demand, once you reserve hardware,
40
-
> you will have access to that specific hardware for the duration of the
41
-
> reservation.
42
-
43
-
You can specify the reservation ID using the field `hardwareReservationID`:
The `PacketMachine`, `PacketCluster`, and `PacketMachineTemplate` CRD specs are also documented at [docs.crds.dev](https://doc.crds.dev/github.com/kubernetes-sigs/cluster-api-provider-packet).
0 commit comments