Giter Club home page Giter Club logo

t-nsa810's Introduction

Vulnerability ft trivy

T-NSA810

Nous essayons de réduire les vulnérabilités dans ce projet. Nous avons mis en place un workflow de scan de vulnérabilités en utilisant Trivy. Le badge ci-dessus montre le statut du dernier scan.

Pour exécuter le projet, suivez ces étapes :

  1. Assurez-vous que Docker et Docker Compose sont installés sur votre système.
  2. Clonez le dépôt : git clone https://github.com/seb34000/T-NSA810.git
  3. Naviguez vers le répertoire du projet : cd T-NSA810
  4. Démarrez le projet en utilisant Docker Compose : docker-compose up --build

C'est tout ! Le projet devrait maintenant être opérationnel.

Deploying the Application on Kubernetes using Minikube

This guide provides step-by-step instructions to deploy a sample application on Kubernetes using Minikube.

Prerequisites

Ensure you have the following installed on your machine:

Environment Variables

You will need to set the following environment variables:

  • GIT_USER: Your GitHub username.

Setup and Deployment Steps

  1. Clone the Repository

    git clone https://github.com/yourusername/your-repo.git
    cd your-repo
  2. Prepare the Environment

    export GIT_USER=your_github_username
  3. Run the Deployment Script

    The provided script automates the deployment process. Save the script below as kube-start.sh and make it executable.

    chmod +x kube-start.sh
    sudo ./kube-start.sh

    when asked by argocd you will need to put your github token as github password

  4. Access the Argo CD UI

    Once the script completes, you can access the Argo CD UI using the URL provided in the script output. It will look something like:

    http://<minikube-ip>:<node-port>
    

    You can log in using the username admin and the password adminadmin.

  5. Verify Deployment

    You can verify that your application is running correctly by checking the Argo CD dashboard and using kubectl commands to inspect the deployed resources.

    kubectl get pods -n nsa

Troubleshooting

  • If you encounter issues with Minikube or Kubernetes, refer to their official documentation for troubleshooting tips:

  • Ensure Docker is running and you have sufficient resources allocated to Minikube (CPU, Memory).

Cleanup

To delete the Minikube cluster and all deployed resources, run:

minikube delete

t-nsa810's People

Contributors

github-hugo-vincent avatar hy0g0 avatar divatchyano avatar

Watchers

Beruben Daniel avatar Sebastien PHELIP avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.