Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@shapeshiftoss/cluster-launcher
Advanced tools
The cluster launcher is a pulumi package used to create an eks cluster. This is currently being used to deploy **[unchained's cluster](https://github.com/shapeshift/unchained)**. Eventually it could include other cloud kubernetes providers like GKE, AKS,
The cluster launcher is a pulumi package used to create an eks cluster. This is currently being used to deploy unchained's cluster. Eventually it could include other cloud kubernetes providers like GKE, AKS, etc ...
The following charts must be added to your repo list:
helm repo add traefik https://traefik.github.io/charts
helm repo add aws-ebs-csi-driver https://kubernetes-sigs.github.io/aws-ebs-csi-driver
helm repo add piraeus-charts https://piraeus.io/helm-charts/
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add eks https://aws.github.io/eks-charts/
helm repo update
To use from javascript or Typescript in Node.js install using either:
npm
:
$ npm install @shapeshiftoss/cluster-launcher
or yarn
:
$ yarn add @shapeshiftoss/cluster-launcher
In order for external-dns
and cert-manager
to opperated correctly. rootDnsName must be created in route53 manually and NS servers must be updated on registrar
Hosted Zone
by clicking Create hosted zone
Domain Name
that you own and plan on using for this EKS cluster. Leave it public and save.NS
record it should be 4 values looking something like:
ns-1570.awsdns-04.co.uk.
ns-810.awsdns-37.net.
ns-265.awsdns-33.com.
ns-1050.awsdns-03.org.
If you do not have a aws_access_key_id
and aws_secret_access_key
create one for your user on IAM
If you do not have a credentials file found ~/.aws/credentials
create one.
$ touch ~/.aws/credentials
If you haven't setup a profile before just setup a default copying the credentials you created
$ cat <<EOT >> ~/.aws/credentials
[default]
aws_access_key_id = <Your Access Key ID>
aws_secret_access_key = <Your Secret Access Key>
EOT
if you have simply create a new profile whatever you want to name it inside []
. You will need to specify profile in the EKSClusterLauncherArgs
otherwise it will use default
$ cat <<EOT >> ~/.aws/credentials
[New-Profile-Name]
aws_access_key_id = <Access-Key-ID>
aws_secret_access_key = <Secret-Access-Key>
EOT
Now you are ready to use the EKSClusterLauncher
import { EKSClusterLauncher } from '@shapeshiftoss/cluster-launcher'
const cluster = await EKSClusterLauncher.create(app, {
rootDomainName: 'example.com', // Domain configured in Route53
instanceTypes: ['t3.small', 't3.medium', 't3.large'] // List of instances to be used for worker nodes
})
const kubeconfig = cluster.kubeconfig
const k8sProvider = new Provider('kube-provider', { kubeconfig })
This package deploys everything nessesary for an opperational eks cluster including:
<name>-infra
helloworld.<rootDomainName>
to see that all components are working correctlyA very basic PLG stack can be implemented to aid in troubleshooting, this is how you can access Grafana from outside your cluster.
Replace <templated variables>
with variables specific to your deployment
In the namespace where grafana is hosted get the admin password
kubectl get secret <grafana secret> -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
Forward grafana port to local machine
kubectl port-forward service/<grafana service> 8080:80
On your local machine, navigate to localhost:8080
admin / <password retrieved during step 1>
/dashboard/#
FAQs
The cluster launcher is a pulumi package used to create an eks cluster. This is currently being used to deploy **[unchained's cluster](https://github.com/shapeshift/unchained)**. Eventually it could include other cloud kubernetes providers like GKE, AKS,
The npm package @shapeshiftoss/cluster-launcher receives a total of 5 weekly downloads. As such, @shapeshiftoss/cluster-launcher popularity was classified as not popular.
We found that @shapeshiftoss/cluster-launcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.