- Install the Docker desktop app.
- In your terminal,
brew install minikube
. - Open your desktop Docker app.
- Click on the settings icon in the top right.
- Select "Kubernetes" on the left.
- Check the box for “Enable Kubernetes”.
- Click "Apply and Restart". Ex.
- Return to the Docker dashboard by clicking on the X icon in the upper right corner.
- In your terminal,
minikube start -p [custom cluster name here]
.- A container for the cluster you labeled should appear.. Ex.
- The dashboard in your Docker app should show this.
kubectl get nodes
displays created node. Ex.- Note: the "ROLES" column could say "master" instead of “control-plane”.
kubectl version
shows your client and server version. Ex.kubectl get pods
currently shouldn't have anything. Ex.kubectl get services
should have one entry. Ex.
- A container for the cluster you labeled should appear.. Ex.
- Navigate to your desired directory.
brew install prometheus
installs Prometheus. Ex.brew install helm
installs Helm. Ex.helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
adds the Helm repository. Ex.- Then
helm repo update
. Ex.
- Then
helm install [named cluster here] prometheus-community/kube-prometheus-stack
. Ex.- Visit here for instructions on how to create & configure Alertmanager and Prometheus instances using the Operator.
kubectl get pod
displays all the pods. Ex.- From the results of the above command, copy the last "NAME" entry except for the starting "prometheus-" and trailling "-0" part.
- Then
kubectl port-forward svc/[paste it here] 9090
. Ex. - Visit http://localhost:9090 in the browser, to see the Prometheus web interface. Ex.
- Select "Status" from the above navigation bar then "Targets", to see a list of pre-configured scrape targets. Ex.
- ...TO BE CONTINUED.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
This product was created specifically for developers that strongly desire a harmonious integration of various technologies into a single, one-stop-shop for managing your Kubernetes clusters!
oslabs-beta/poseidon
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This product was created specifically for developers that strongly desire a harmonious integration of various technologies into a single, one-stop-shop for managing your Kubernetes clusters!