Start by creating the cluster from the path where cluster.yaml
is
eksctl create cluster -f cluster.yaml --without-nodegroup
once created, launch the node group as
eksctl create nodegroup -f cluster.yaml --include=ng-2-workers
Host public | |
Hostname x.x.x.x | |
User ubuntu | |
IdentityFile ~/.ssh/path_to_key1.pem | |
Host private | |
HostName y.y.y.y | |
User ec2-user | |
ProxyCommand ssh -W %h:%p public |
apiVersion: argoproj.io/v1alpha1 | |
kind: WorkflowTemplate | |
metadata: | |
name: vote-ci-template | |
namespace: argo-events | |
spec: | |
entrypoint: main | |
serviceAccountName: default | |
arguments: | |
parameters: |
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: argo | |
namespace: argo-events | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: RoleBinding | |
metadata: |
Start by creating the cluster from the path where cluster.yaml
is
eksctl create cluster -f cluster.yaml --without-nodegroup
once created, launch the node group as
eksctl create nodegroup -f cluster.yaml --include=ng-2-workers
- name: ng-2-workers | |
labels: { role: workers } | |
instanceType: t3.small | |
desiredCapacity: 2 | |
minSize: 1 | |
maxSize: 4 | |
maxPodsPerNode: 17 | |
ssh: | |
allow: true | |
publicKeyName: xxxxxxx |
Start by creating the cluster from the path where cluster.yaml
is
eksctl create cluster -f cluster.yaml --without-nodegroup
once created, launch the node group as
eksctl create nodegroup -f cluster.yaml --include=ng-2-workers
apiVersion: eksctl.io/v1alpha5 | |
kind: ClusterConfig | |
metadata: | |
name: eks-cluster-01 | |
region: ap-southeast-1 | |
vpc: | |
id: "vpc-0f001c1415b1ae568" | |
subnets: |
apiVersion: eksctl.io/v1alpha5 | |
kind: ClusterConfig | |
metadata: | |
name: eks-cluster-01 | |
region: ap-southeast-1 | |
vpc: | |
id: "vpc-aaaa" | |
subnets: |
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
labels: | |
k8s-addon: cluster-autoscaler.addons.k8s.io | |
k8s-app: cluster-autoscaler | |
name: cluster-autoscaler | |
namespace: kube-system | |
--- |
Imagine we have a parent chart and a child chart. Each has a configuration value named replicaCount, which specifies the number of replicas for a deployment. We want to be able to override this value for different environments using separate files.
parent/
- charts/
- child/