Symfony skeletor project
Go to file Use this template
Philippe Caseiro 445f16e7ee feat(all): adding makefile 2023-06-13 16:20:02 +02:00
bin feat(back): adding symfony base files 2023-06-13 15:57:57 +02:00
config feat(back): adding symfony base files 2023-06-13 15:57:57 +02:00
misc feat(docker): adding k8s compatible Dockerfile 2023-06-13 16:19:38 +02:00
public feat(back): adding symfony base files 2023-06-13 15:57:57 +02:00
src feat(back): adding symfony base files 2023-06-13 15:57:57 +02:00
.dockerignore feat(docker): adding .dockerignore file 2023-06-13 15:50:02 +02:00
.env feat(back): adding symfony base files 2023-06-13 15:57:57 +02:00
.gitignore feat(back): adding symfony base files 2023-06-13 15:57:57 +02:00
Makefile feat(all): adding makefile 2023-06-13 16:20:02 +02:00
README.md feat(docker): adding k8s compatible Dockerfile 2023-06-13 16:19:38 +02:00
composer.json feat(back): adding symfony base files 2023-06-13 15:57:57 +02:00
composer.lock feat(back): adding symfony base files 2023-06-13 15:57:57 +02:00
main.mk feat(all): adding makefile 2023-06-13 16:20:02 +02:00
skaffold.yaml feat(all): adding makefile 2023-06-13 16:20:02 +02:00
symfony.lock feat(back): adding symfony base files 2023-06-13 15:57:57 +02:00

README.md

Symfony Skeletor

Create a dev cluster with "kind"

  1. 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
    
  2. 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
    
  3. Déployer les opérateurs dans votre cluster

    kubectl apply -k misc/k8s/${ENGINE}/cluster --server-side  
    
  4. 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/