Symfony skeletor project
Go to file Use this template
Philippe Caseiro 25facc04e8 fup-try-014 2023-06-19 16:38:41 +02:00
bin feat(docker): adding first Dockerfile and kustomization 2023-06-14 12:15:12 +02:00
config feat(docker): adding first Dockerfile and kustomization 2023-06-14 12:15:12 +02:00
misc fup 2023-06-19 15:15:23 +02:00
public feat(docker): adding first Dockerfile and kustomization 2023-06-14 12:15:12 +02:00
src feat(docker): adding first Dockerfile and kustomization 2023-06-14 12:15:12 +02:00
.dockerignore feat(docker): adding first Dockerfile and kustomization 2023-06-14 12:15:12 +02:00
.env feat(docker): adding first Dockerfile and kustomization 2023-06-14 12:15:12 +02:00
.gitignore feat(docker): adding first Dockerfile and kustomization 2023-06-14 12:15:12 +02:00
Jenkinsfile fup-try-013 2023-06-19 16:34:52 +02:00
Makefile fup-try-014 2023-06-19 16:38:41 +02:00
README.md feat(docker): adding first Dockerfile and kustomization 2023-06-14 12:15:12 +02:00
composer.json feat(docker): adding first Dockerfile and kustomization 2023-06-14 12:15:12 +02:00
composer.lock feat(docker): adding first Dockerfile and kustomization 2023-06-14 12:15:12 +02:00
init-app fup 2023-06-19 14:28:01 +02:00
main.mk fup 2023-06-19 15:55:07 +02:00
skaffold.yaml fup 2023-06-19 14:28:01 +02:00
symfony.lock feat(docker): adding first Dockerfile and kustomization 2023-06-14 12:15:12 +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/