add manifest and update instructions md

This commit is contained in:
Bartal Læarsson
2025-02-04 22:45:36 +00:00
parent 8e98d0763b
commit 0702aa0700
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,36 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: asyncapi
name: asyncapi-deployment
namespace: asyncapi
spec:
replicas: 2
selector:
matchLabels:
app: asyncapi
template:
metadata:
labels:
app: asyncapi
spec:
containers:
- name: asyncapi
image: iitaks.azurecr.io/asyncapi:1.2
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: asyncapi-service
namespace: asyncapi
spec:
selector:
app: asyncapi
type: NodePort
ports:
- protocol: TCP
port: 80
targetPort: 80
@@ -152,6 +152,17 @@ When the instance is ready, shell into the instance with `multipass shell worker
```bash
sudo kubeadm join --token <token> <control-plane-host>:<control-plane-port> --discovery-token-ca-cert-hash sha256:<hash>
```
[Important]
To get the exact information for the join run
```bash
multipass shell <controlplane-name>
```
When inside, run
```bash
sudo kubeadm token create --print-join-command
```
The information/token was generated with the kubeadm init command.
If you need to recover the information, shell into `multipass shell cp1`
and run