Skip to content

D3athByMonkey/ContainerDBTester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ContainerDBTester - .net - Windows

This is the code used to create the .net app to allow you to test connectivity to a SQL database using a container. Right now you can easily use a YAML file to set yourself up. You simply need to add the following to the args section.

  1. Connection String
  2. table you want to query
  3. amount of rows you would like to query
  4. Do you want continuous queries. note: if you choose to not add this as an arg the container will query only once and complete

YAML

apiVersion: v1
kind: Pod
metadata:
  name: dbtester
  labels:
    app: dbtester
spec:
  containers:
  - name: dbtester
    image: d3athbymonkey/container_db_tester:latest
    imagePullPolicy: Always
    command: ["Container.DBTester.exe"]
    args: ["your connection string", "your table", "amount of rows", "yes for contious, nothing for single"]
  nodeSelector:
    kubernetes.io/os: windows

Lone Container

If what you want is just the container itself you can easily pull it by running docker pull d3athbymonkey/container_db_tester. You can see the repo in docker hub here.

DBTester - Python - Win/Linux

There is another like minded pod you can deploy thats python based. You can find that here

About

Code used to create DB testing for containers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages