description |
---|
A Kubernetes operator for the rqlite database. |
You can install the rqlite-operator as follows:
proxy_cache_path /path/to/cache levels=1:2 keys_zone=my_cache:10m max_size=10g | |
inactive=60m use_temp_path=off; | |
server { | |
# ... | |
location / { | |
proxy_cache my_cache; | |
proxy_pass http://my_upstream; | |
} | |
} |
server { | |
location / { | |
proxy_pass http://new_server; | |
error_page 404 500 502 503 504 = @fallback; | |
} | |
location @fallback { | |
proxy_pass http://old_server; | |
} | |
} |
+---------+------------------+----------+-------------------+---------------+--------------------------------+ | |
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE | | |
+---------+------------------+----------+-------------------+---------------+--------------------------------+ | |
| bzip2 | CVE-2019-12900 | HIGH | 1.0.6-r6 | 1.0.6-r7 | bzip2: out-of-bounds write in | | |
| | | | | | function BZ2_decompress | | |
+---------+------------------+ +-------------------+---------------+--------------------------------+ | |
| expat | CVE-2018-20843 | | 2.2.6-r0 | 2.2.7-r0 | expat: large number of colons | | |
| | | | | | in input makes parser consume | | |
| | | | | | high amount... | | |
+ +-------------- |
+---------+------------------+----------+-------------------+---------------+--------------------------------+ | |
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE | | |
+---------+------------------+----------+-------------------+---------------+--------------------------------+ | |
| bzip2 | CVE-2019-12900 | HIGH | 1.0.6-r6 | 1.0.6-r7 | bzip2: out-of-bounds write in | | |
| | | | | | function BZ2_decompress | | |
+---------+------------------+ +-------------------+---------------+--------------------------------+ | |
| expat | CVE-2018-20843 | | 2.2.6-r0 | 2.2.7-r0 | expat: large number of colons | | |
| | | | | | in input makes parser consume | | |
| | | | | | high amount... | | |
+ +-------------- |
$ docker run mcr.microsoft.com/dotnet/framework/samples:wcfservice
Unable to find image 'mcr.microsoft.com/dotnet/framework/samples:wcfservice' locally wcfservice: Pulling from dotnet/framework/samples docker: no matching manifest for linux/amd64 in the manifest list entries. See 'docker run --help'.
#!/bin/bash | |
# This script takes a remote repository and merges it into | |
# the current one as a subdirectory | |
set -e | |
if [ -z "$1" ] | |
then | |
echo "Usage:" |
# kubectl describe svc nginx-service | |
Name: nginx-service | |
... | |
Type: ClusterIP | |
IP: 10.102.128.4 | |
Port: http 3080/TCP | |
Endpoints: 10.244.0.235:8080,10.244.1.237:8080 | |
Session Affinity: None | |
# ip addr |
production # inventory file for production servers | |
staging # inventory file for staging environment | |
group_vars/ | |
group1.yml # here we assign variables to particular groups | |
group2.yml | |
host_vars/ | |
hostname1.yml # here we assign variables to particular systems | |
hostname2.yml |