Skip to content

Commit

Permalink
Cut v0.2.1 (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellistarn authored Apr 12, 2021
1 parent e335f87 commit e106b06
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 144 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 12 additions & 12 deletions charts/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -38,12 +38,12 @@ 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
type: application
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"
Binary file added charts/karpenter-v0.2.1.tgz
Binary file not shown.
Binary file removed charts/karpenter-v0.2.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/karpenter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
67 changes: 4 additions & 63 deletions charts/karpenter/templates/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,5 +368,5 @@ its target, and indicates whether or not those conditions are met.</p>
<hr/>
<p><em>
Generated with <code>gen-crd-api-reference-docs</code>
on git commit <code>4a6d377</code>.
on git commit <code>e335f87</code>.
</em></p>
2 changes: 1 addition & 1 deletion hack/quick-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ apply() {
--set installCRDs=true \
--atomic
helm upgrade --install karpenter karpenter/karpenter \
--version 0.2.0 \
--version 0.2.1 \
--create-namespace --namespace karpenter \
--atomic
}
Expand Down
67 changes: 4 additions & 63 deletions releases/aws/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit e106b06

Please sign in to comment.