git credential-manager
:
--system
>--global
>--local
: (example)
git config --system -e
git config --system credential.helper manger-core/wincred
git config --system --unset-all credential.helper
- We should add our credential informations for
git:domain
in thecredential-mamnger
window as the form below:
username: <Git-SCM username>
password: <your_access_token>
where
command in Windows: to indicate the location of a given binary file
where.exe minikube.exe
- Searching for matching string pattern on Windows:
- Simple method:
echo $env:Path -match/-cmatch "<something>
- Intermediate/old school method:
dir /-D | findstr /I /C:"<something>
- Advance/modern Powershell script:
Get-ChildItem -Recurse | Select-String "<something>" -List | Select Path
- The comparision about port exposion in
Dockerfile
versusk8s-template.yml
:
- The first
8080
is the local machine port was used for running the container (instance of an image). - The second one
8080/TCP
is a public port exposed for all of these connected nodes in the network.
EXPOSE 8080 8080
corresponded with this expose command in the k8s-template.yml
looks like:
service:
type: ClusterIP
port: 80
targetPort: 8080