diff --git a/Makefile b/Makefile index 13861baaa400..ca925f80f25f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ RELEASE_REPO ?= public.ecr.aws/b6u6q9h4 -RELEASE_VERSION ?= $(shell git describe --tags --always --dirty) +RELEASE_VERSION ?= $(shell git describe --tags --always) RELEASE_MANIFEST = releases/${CLOUD_PROVIDER}/manifest.yaml ## Inject the app version into project.Version diff --git a/README.md b/README.md index a0506ddd833c..a76a3ceb97e7 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,12 @@ Follow the setup recommendations of your cloud provider. ### Quick Install - Controller + Dependencies ``` -sh -c "$(curl -fsSL https://raw.githubusercontent.com/awslabs/karpenter/v0.2.0/hack/quick-install.sh)" +sh -c "$(curl -fsSL https://raw.githubusercontent.com/awslabs/karpenter/v0.2.1/hack/quick-install.sh)" ``` ### Kubectl - Standalone ``` -kubectl apply -f https://raw.githubusercontent.com/awslabs/karpenter/v0.2.0/releases/aws/manifest.yaml +kubectl apply -f https://raw.githubusercontent.com/awslabs/karpenter/v0.2.1/releases/aws/manifest.yaml ``` ### Helm - Standalone diff --git a/charts/index.yaml b/charts/index.yaml index a264fd7145b6..f651d7b58a54 100644 --- a/charts/index.yaml +++ b/charts/index.yaml @@ -2,25 +2,25 @@ apiVersion: v1 entries: karpenter: - apiVersion: v2 - created: "2021-03-30T18:43:04.247802-07:00" + created: "2021-04-09T16:40:30.535852-07:00" description: A Helm chart for https://github.com/awslabs/karpenter/. - digest: 552bdc17f5625e4696bb7419284026f4291428877092ec5d984f486a2b812d6f + digest: 87e161d40c65dc58a3963f17d70cc165a5bf46155f723e487486f57d209e50d1 name: karpenter type: application urls: - - karpenter-v0.2.0.tgz - version: v0.2.0 + - karpenter-v0.2.1.tgz + version: v0.2.1 - apiVersion: v2 - created: "2021-03-30T18:43:04.248664-07:00" + created: "2021-04-09T16:40:30.535464-07:00" description: A Helm chart for https://github.com/awslabs/karpenter/. - digest: 121c3345781d7be5e694c5adf3cf10fc938397b2e877bc4346b7430b88e36a96 + digest: 552bdc17f5625e4696bb7419284026f4291428877092ec5d984f486a2b812d6f name: karpenter type: application urls: - - karpenter-v0.2.tgz - version: v0.2 + - karpenter-v0.2.0.tgz + version: v0.2.0 - apiVersion: v2 - created: "2021-03-30T18:43:04.247417-07:00" + created: "2021-04-09T16:40:30.534993-07:00" description: A Helm chart for https://github.com/awslabs/karpenter/. digest: 1a597c415201e61576b83ee6ec3e24b99281805b3be8141b0a344c6f014d4e15 name: karpenter @@ -29,7 +29,7 @@ entries: - karpenter-v0.1.3.tgz version: v0.1.3 - apiVersion: v2 - created: "2021-03-30T18:43:04.246376-07:00" + created: "2021-04-09T16:40:30.534592-07:00" description: A Helm chart for https://github.com/awslabs/karpenter/. digest: 6a6753731aef19db2aae72b6bfc1535917053d87f706579e158cae98c23887b4 name: karpenter @@ -38,7 +38,7 @@ entries: - karpenter-v0.1.2.tgz version: v0.1.2 - apiVersion: v2 - created: "2021-03-30T18:43:04.245404-07:00" + created: "2021-04-09T16:40:30.533996-07:00" description: A Helm chart for https://github.com/awslabs/karpenter/. digest: 39685c8cbe9a757ca48721aed08b49111fef18bc2a9f67d3223f19d0706f09f7 name: karpenter @@ -46,4 +46,4 @@ entries: urls: - karpenter-v0.1.1.tgz version: v0.1.1 -generated: "2021-03-30T18:43:04.243675-07:00" +generated: "2021-04-09T16:40:30.533245-07:00" diff --git a/charts/karpenter-v0.2.1.tgz b/charts/karpenter-v0.2.1.tgz new file mode 100644 index 000000000000..845fbbe6d358 Binary files /dev/null and b/charts/karpenter-v0.2.1.tgz differ diff --git a/charts/karpenter-v0.2.tgz b/charts/karpenter-v0.2.tgz deleted file mode 100644 index a9308ba796b0..000000000000 Binary files a/charts/karpenter-v0.2.tgz and /dev/null differ diff --git a/charts/karpenter/Chart.yaml b/charts/karpenter/Chart.yaml index a3307b93a027..890d4361157f 100644 --- a/charts/karpenter/Chart.yaml +++ b/charts/karpenter/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v2 name: karpenter description: A Helm chart for https://github.com/awslabs/karpenter/. type: application -version: v0.2.0 +version: v0.2.1 diff --git a/charts/karpenter/templates/manifest.yaml b/charts/karpenter/templates/manifest.yaml index 15c982e68486..b9b5f1795e33 100644 --- a/charts/karpenter/templates/manifest.yaml +++ b/charts/karpenter/templates/manifest.yaml @@ -83,7 +83,7 @@ spec: serviceAccountName: karpenter containers: - name: manager - image: public.ecr.aws/b6u6q9h4/controller:v0.2.0@sha256:d624380aaf2d20f006196e3edf38a5e186dc6e84a7065c1ef66bf99a002da09d + image: public.ecr.aws/b6u6q9h4/controller:v0.2.1@sha256:60d43d76a2dba337238bec9bf79b58294774f7a367accc0f3fba0fcbd2878773 resources: requests: cpu: 100m @@ -107,65 +107,6 @@ spec: defaultMode: 420 secretName: karpenter-webhook-server-cert ---- -apiVersion: monitoring.coreos.com/v1 -kind: Prometheus -metadata: - name: karpenter-monitor - namespace: karpenter -spec: - replicas: 1 - serviceMonitorSelector: - matchLabels: - control-plane: karpenter ---- -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - labels: - control-plane: karpenter - name: karpenter-metrics-monitor - namespace: karpenter -spec: - endpoints: - - path: /metrics - port: http - interval: 5s - scheme: http - selector: - matchLabels: - control-plane: karpenter ---- -apiVersion: rbac.authorization.k8s.io/v1beta1 -kind: ClusterRole -metadata: - name: karpenter-metrics-reader -rules: - - nonResourceURLs: ["/metrics"] - verbs: ["get"] - - apiGroups: - - "" - resources: - - services - - endpoints - verbs: - - get - - list - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: karpenter-metrics -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: karpenter-metrics-reader -subjects: - - kind: ServiceAccount - name: default - namespace: karpenter - --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition @@ -200,7 +141,7 @@ spec: description: ProvisionerSpec is the top level provisioner specification. Provisioners launch nodes in response to pods where status.conditions[type=unschedulable, status=true]. Node configuration is driven by through a combination of provisioner specification (defaults) and pod scheduling constraints (overrides). A single provisioner is capable of managing highly diverse capacity within a single cluster and in most cases, only one should be necessary. For advanced use cases like workload separation and sharding, it's possible to define multiple provisioners. These provisioners may have different defaults and can be specifically targeted by pods using pod.spec.nodeSelector["provisioning.karpenter.sh/name"]=$PROVISIONER_NAME. properties: architecture: - description: Architecture constraints the underlying node architecture + description: Architecture constrains the underlying node architecture type: string cluster: description: ClusterSpec configures the cluster that the provisioner operates against. If not specified, it will default to using the controller's kube-config. @@ -220,7 +161,7 @@ spec: - name type: object instanceTypes: - description: InstanceTypes constraints which instances types will be used for nodes launched by the Provisioner. If unspecified, supports all types. Cannot be specified if label "node.kubernetes.io/instance-type" is specified. + description: InstanceTypes constrains which instances types will be used for nodes launched by the Provisioner. If unspecified, it will support all types. Cannot be specified if label "node.kubernetes.io/instance-type" is specified. items: type: string type: array @@ -230,7 +171,7 @@ spec: description: Labels will be applied to every node launched by the Provisioner unless overriden by pod node selectors. Well known labels control provisioning behavior. Additional labels may be supported by your cloudprovider. type: object operatingSystem: - description: OperatingSystem constrain the underlying node operating system + description: OperatingSystem constrains the underlying node operating system type: string taints: description: Taints will be applied to every node launched by the Provisioner. If specified, the provisioner will not provision nodes for pods that do not have matching tolerations. diff --git a/docs/README.md b/docs/README.md index ce1e9f5ae7b9..7f503aaba6d1 100644 --- a/docs/README.md +++ b/docs/README.md @@ -368,5 +368,5 @@ its target, and indicates whether or not those conditions are met.
Generated with gen-crd-api-reference-docs
-on git commit 4a6d377
.
+on git commit e335f87
.