Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a117a88
add to readme
V2arK Dec 17, 2024
820a0dd
add version message
V2arK Dec 18, 2024
7b2b8f2
match versions to new python client spec
V2arK Dec 18, 2024
eac9107
GONNA REMOVE - Change to local cluster
V2arK Dec 19, 2024
ed8ecf1
sync version to 3.1.4, the same as platform and api client
V2arK Dec 19, 2024
fa04007
remove empty lines
V2arK Dec 19, 2024
1171917
change cli get to use name as parameter rather than type with ID
V2arK Dec 19, 2024
4ed05f6
NOT WORKING - attempt to add create deployment
V2arK Dec 19, 2024
7ca22d6
NOT WORKING - refractor variable names, now hitting Internal Server E…
V2arK Dec 19, 2024
a4ac883
change exception handling to print detail, add echo deployment name.
V2arK Dec 20, 2024
eed79f2
fix container port for inf dep
V2arK Dec 20, 2024
db15900
add get prebuilt img api call
V2arK Dec 20, 2024
6ffbee8
added prebuilt img list for all, but only inf now working
V2arK Dec 20, 2024
f0b8a85
add default to choice, add image lists from db
V2arK Dec 20, 2024
35cf1d9
change platform version
V2arK Mar 18, 2025
6cbe9a0
update version 3.1.15
V2arK Mar 18, 2025
3f7b9c5
ruff format
V2arK Mar 18, 2025
1d13b31
black reformatt
V2arK Mar 18, 2025
e117326
reformat
V2arK Mar 18, 2025
6b568e8
change to 3.2.4, updated depl create
V2arK Mar 18, 2025
abdf441
update to 3.2,4, fix create inf
V2arK Mar 20, 2025
1bb2248
update compute / inf create
V2arK Mar 20, 2025
47a65bb
changing cserve side
V2arK Mar 21, 2025
31430b1
complete cserve create
V2arK Mar 21, 2025
4963ce5
added TODO, changed all stuff to use name instead of ID.
V2arK Mar 21, 2025
1d43068
change selections to be indexed.
V2arK Mar 21, 2025
9e25528
format lint
V2arK Mar 21, 2025
6d35908
fix typecheck
V2arK Mar 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ Alternatively to build from source, clone this repo then inside the project's ba
pip install .
```

### Un-installation

To uninstall `centml`, simple do:
```bash
pip uninstall centml
```

### CLI
Once installed, use the centml CLI tool with the following command:
```bash
Expand Down Expand Up @@ -85,3 +92,30 @@ To run all the tests, use:
```bash
pytest
```

### Common Issues

- **`SSL` certificate on `MacOS`**

Sometimes, you will see issues when using command like `centml cluster [CMD]`, where the output might look like:

```logs

File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/util/retry.py", line 519, in increment

raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.centml.com', port=443):

Max retries exceeded with url: /deployments

(Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')))
```

**Solution**:
To fix this issue, navigate to your `python` installation directory and run the `Install Certificates.command` file located there.

For example, if you are using `python3.10`, the file path would be:
`
/Applications/Python 3.10/Install Certificates.command
`
Loading
Loading