Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnedo committed Aug 8, 2024
1 parent 2e1a9cd commit d53b382
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,14 @@ Currently only Prefix pathType is supported.

Uses systemd timers to schedule jobs.
Limited to always running on the same node.
Haven't looked in to the ForbidConcurrent etc yet.
Haven't looked in to the ForbidConcurrent etc yet.
I 'think' systemd will just spawn a new job if they overlap.

### Secrets

Secrets are scheduled to all nodes for simplicity.
Any references to secrets in a pod manifest are automatically looked up in the same namespace as the pods.


## Registering nodes

```shell
Expand Down Expand Up @@ -138,10 +137,10 @@ sudo apt-get install -y gcc make libssl-dev pkg-config
### TODO

- Install
- Supported distros/arch
- [x] Ubuntu 24.04 amd64/aarch64
- [ ] Raspbian armv7
- [ ] Idempotent install
- Supported distros/arch
- [x] Ubuntu 24.04 amd64/aarch64
- [ ] Raspbian armv7
- [ ] Idempotent install

- Scheduling
- Strategies
Expand All @@ -151,6 +150,7 @@ sudo apt-get install -y gcc make libssl-dev pkg-config
- [x] Apply
- [ ] Remove
- [x] List
- [ ] Store manifest in store so CNI plugin can get access
- Deployments
- [x] Apply
- [ ] Remove
Expand All @@ -167,8 +167,8 @@ sudo apt-get install -y gcc make libssl-dev pkg-config
- [x] List
- [x] Output matches kubectl
- [ ] Https redirect
- [ ] Opt out with annotation: `nginx.ingress.kubernetes.io/ssl-redirect: "false"`
- Cron
- [ ] Opt out with annotation: `nginx.ingress.kubernetes.io/ssl-redirect: "false"`
- Cron
- [x] Apply
- [x] Remove
- [x] Hash checking
Expand All @@ -182,9 +182,9 @@ sudo apt-get install -y gcc make libssl-dev pkg-config
- [x] List
- [x] Output matches kubectl
- [ ] Support private registry secrets
-
-
- ClusterIssuer
- For letsencrypt
- For letsencrypt

- Networking
- [x] multi-host container network (currently static routes)
Expand All @@ -197,6 +197,9 @@ sudo apt-get install -y gcc make libssl-dev pkg-config
- Ingress
- [x] Openresty config template from ingress resources
- [x] letsencrypt
- [ ] Cluster Issuer to set letsencrypt url
- [ ] Cluster Issuer to set letsencrypt url
- [ ] Support gateway api
- CNI
- [ ] Get pod config from store and not sqlite
- [ ] Reload nginx

2 changes: 1 addition & 1 deletion src/ssh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ pub async fn cluster_connections(cluster: &Cluster) -> (Option<SshClients>, Opti
async fn connect_node(node: &Node) -> Result<SshClient, Box<dyn Error>> {
let default_key = "";
let key = node.key.clone().unwrap_or(default_key.to_string());
let key = shellexpand::tilde(&key);
let key = shellexpand::tilde(&key).to_string();
let timeout = Duration::from_secs(5);

let auth_method = AuthMethod::with_key_file(&key, None);
Expand Down

0 comments on commit d53b382

Please sign in to comment.