mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-13 08:30:05 +01:00
set vscode formatter to alejandra, format repo
This commit is contained in:
parent
1a02818ca8
commit
f251d55857
9 changed files with 16246 additions and 24556 deletions
|
|
@ -1,28 +1,21 @@
|
|||
# Example: kubernetes nginx deployment
|
||||
# nginx deployment
|
||||
|
||||
A simple example creating kubernetes nginx deployment and associated docker
|
||||
image
|
||||
A simple example creating an nginx docker image and deployment.
|
||||
|
||||
## Usage
|
||||
|
||||
### Building and applying kubernetes configuration
|
||||
|
||||
```
|
||||
nix eval -f ./. --json result | kubectl apply -f -
|
||||
```
|
||||
nix eval -f ./. --json result | kubectl apply -f -
|
||||
|
||||
### Building and pushing docker images
|
||||
|
||||
```
|
||||
nix run -f ./. pushDockerImages -c copy-docker-images
|
||||
```
|
||||
nix run -f ./. pushDockerImages -c copy-docker-images
|
||||
|
||||
### Running tests
|
||||
|
||||
Test will spawn vm with kubernetes and run test script, which checks if everyting
|
||||
Test will spawn vm with Kubernetes and run test script, which checks if everything
|
||||
works as expected.
|
||||
|
||||
```
|
||||
nix build -f ./. test-script
|
||||
cat result | jq '.'
|
||||
```
|
||||
nix build -f ./. test-script
|
||||
cat result | jq '.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue