You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Reviewed-on: #16 |
5 months ago | |
---|---|---|
bin | 6 months ago | |
config | 6 months ago | |
misc | 5 months ago | |
public | 6 months ago | |
src | 6 months ago | |
.dockerignore | 6 months ago | |
.env | 6 months ago | |
.gitignore | 6 months ago | |
Jenkinsfile | 5 months ago | |
Makefile | 5 months ago | |
README.md | 6 months ago | |
composer.json | 6 months ago | |
composer.lock | 6 months ago | |
init-app | 5 months ago | |
main.mk | 5 months ago | |
skaffold.yaml | 5 months ago | |
symfony.lock | 6 months ago |
README.md
Symfony Skeletor
Create a dev cluster with "kind"
-
Start your Kubernetes cluster
export ENGINE="kind"
Setup your "harbor" user:
export HARBOR_USER_NAME="<pnom>"
Create the cluster
${ENGINE} create cluster --config misc/k8s/${ENGINE}/${ENGINE}-cluster.yaml
-
Check your cluster status
kubectl get nodes
All the nodes are "Ready"
NAME STATUS ROLES AGE VERSION dev-control-plane Ready control-plane 5d5h v1.27.2 dev-worker Ready <none> 5d5h v1.27.2 dev-worker2 Ready <none> 5d5h v1.27.2 dev-worker3 Ready <none> 5d5h v1.27.2
-
Déployer les opérateurs dans votre cluster
kubectl apply -k misc/k8s/${ENGINE}/cluster --server-side
-
Récupèrer la plage IP de votre "cluster" Si vous utilisez kind :
docker network inspect kind | jq '.[0].IPAM.Config[0].Subnet' -r
En toute logique vous devriez obtenir un résultat du type
172.XX.0.0/16
. Gardez cette information pour plus tard.
your-project/
├── assets/
├── bin/
│ └── console
├── config/
│ ├── bundles.php
│ ├── packages/
│ ├── routes.yaml
│ └── services.yaml
├── public/
│ └── index.php
├── src/
│ ├── ...
│ └── Kernel.php
├── templates/
├── tests/
├── translations/
├── var/
└── vendor/