-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Raj Patil <rajp152k@gmail.com>
- Loading branch information
Showing
17 changed files
with
257 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:PROPERTIES: | ||
:ID: 158b95bc-9434-48f2-b932-3be750afa7e6 | ||
:END: | ||
#+title: Erlang | ||
#+filetags: :erlang: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:PROPERTIES: | ||
:ID: 9497fb82-9220-4e8d-b29c-9811c14a70ab | ||
:END: | ||
#+title: Scala | ||
#+filetags: :scala: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
:PROPERTIES: | ||
:ID: 29c69e24-36df-4283-b8e7-1398f205f40f | ||
:END: | ||
#+title: Ergo | ||
#+filetags: :erlang:golang: | ||
|
||
Exposing erlang ecosystem in golang | ||
|
||
* Resources | ||
- https://docs.ergo.services/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
:PROPERTIES: | ||
:ID: 9d903415-5198-4b13-b2e4-ef0acc99c76c | ||
:END: | ||
#+title: Network Transparency | ||
#+filetags: :network: | ||
|
||
* Overview | ||
|
||
- *Definition of Network Transparency*: Network transparency refers to the degree to which users can see and understand the workings of a [[id:a4e712e1-a233-4173-91fa-4e145bd68769][network]], including its [[id:11d303f1-d337-4f51-b211-db435a9f2cd0][protocols]], architecture, and interactions. | ||
|
||
- *Importance in Networking*: | ||
- Facilitates [[id:20240218T063707.851290][trust]] among users. | ||
- Enhances security by allowing for audits and assessments. | ||
- Aids in problem detection and resolution. | ||
|
||
- *Key Aspects*: | ||
- *Visibility*: Information on network operations and performance metrics should be easily accessible. | ||
- *Accessibility*: Tools and data for monitoring should be user-friendly. | ||
- *Interoperability*: Different systems and protocols must work together seamlessly, allowing users to understand how components interact. | ||
|
||
- *Applications*: | ||
- Used in corporate networks for compliance and governance. | ||
- Integral to [[id:20240519T201406.029955][blockchain]] technologies where transactions and operations are visible to all participants. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
:PROPERTIES: | ||
:ID: d508997a-359b-4581-b781-b3e87e41fb23 | ||
:END: | ||
#+title: Idempotence | ||
#+filetags: :math: | ||
|
||
* Overview | ||
|
||
- *Definition of Idempotence:* | ||
- A property of certain operations or functions, where applying them multiple times does not change the result beyond the initial application. | ||
|
||
- *Computer Science Context:* | ||
- In programming and [[id:20240101T073142.439145][APIs]], an idempotent operation can be performed multiple times without different outcomes. | ||
- [[id:88828c6f-87e0-4569-b236-dc6ebb72d282][HTTP methods]] like PUT and DELETE are generally considered idempotent. | ||
|
||
- *Generalization in Algebra:* | ||
- In a [[id:bb4cc157-483e-462b-b0a7-90617601c808][monoid]] (an algebraic structure), an element \( a \) is idempotent if \( a \cdot a = a \). | ||
|
||
- *Applications:* | ||
- Database operations: Ensuring that commands like update do not result in multiple records being altered inadvertently. | ||
- Functional programming: Enhancing code reliability and predictability by using idempotent functions. | ||
|
||
*Connections:* | ||
- The concept of idempotence bridges multiple fields, from mathematics and computer science to functional programming, emphasizing its foundational role in logical reasoning and system reliability. | ||
- Idempotence is crucial for designing systems that are fault-tolerant and predictable, allowing users to repeat actions without unintended effects. | ||
|
||
*Questions for Further Research:* | ||
- How does the concept of idempotence apply to distributed systems or APIs in real-world applications? | ||
- What are the implications of idempotence in database transactions, particularly in the context of ACID properties? | ||
- Are there any notable exceptions or edge cases in which an operation is considered idempotent in theory but not in practice? | ||
|
||
* Idempotence and [[id:3586cec4-d474-404e-87af-6e3520049494][Ephemerality]] in the [[id:739d8493-d7a6-4eee-b31a-44d087f4fb42][cloud native]] world | ||
- https://www.appdynamics.com/blog/engineering/what-are-idempotency-ephemerality-in-cloud-native-world/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
:PROPERTIES: | ||
:ID: bb4cc157-483e-462b-b0a7-90617601c808 | ||
:END: | ||
#+title: Monoid | ||
#+filetags: :math: | ||
|
||
* Overview | ||
*** Overview of Monoid | ||
|
||
- *Definition*: A monoid is an [[id:412f3aa9-2b5f-4e78-9b4e-1adfa34bfe01][algebraic structure]] consisting of a set equipped with an associative binary operation and an identity element. | ||
|
||
- *Components*: | ||
- *Set*: A non-empty set \( M \). | ||
- *Binary Operation*: A function \( \cdot : M \times M \rightarrow M \) representing the operation. | ||
- *Associativity*: For all \( a, b, c \in M \), \( (a \cdot b) \cdot c = a \cdot (b \cdot c) \). | ||
- *Identity Element*: There exists an element \( e \in M \) such that for all \( a \in M \), \( e \cdot a = a \cdot e = a \). | ||
|
||
- *Examples*: | ||
- The set of natural numbers \( \mathbb{N}_0 \) (including zero) with addition as the operation. | ||
- The set of strings over a fixed alphabet with string concatenation as the operation. | ||
|
||
- *Equivalent Notations*: Monoids can be notated using the triplet \( (M, \cdot, e) \), where \( M \) is the set, \( \cdot \) is the operation, and \( e \) is the identity element. | ||
|
||
*** Connections: | ||
|
||
- *Relation to [[id:8a045d3f-6bea-4844-94b5-3d59c51b042f][Groups]]*: Every monoid can be seen as a generalization of groups, where groups have the additional property of every element having an inverse. | ||
|
||
- *Applications*: | ||
- Used in computer science, particularly in [[id:20231212T081907.908301][functional programming]] (e.g., fold operations). | ||
- Helpful in category theory, where monoids can represent objects and morphisms. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:PROPERTIES: | ||
:ID: 8a045d3f-6bea-4844-94b5-3d59c51b042f | ||
:END: | ||
#+title: Group Theory | ||
#+filetags: :math: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:PROPERTIES: | ||
:ID: 3586cec4-d474-404e-87af-6e3520049494 | ||
:END: | ||
#+title: Ephemerality | ||
#+filetags: :meta: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
:PROPERTIES: | ||
:ID: dd91e448-4e13-471f-aa2a-3137b420db91 | ||
:END: | ||
#+title: kubeconfig | ||
#+filetags: :k8s: | ||
|
||
* Overview | ||
|
||
- *Kubeconfig*: | ||
- A configuration file used by [[id:8fd3deca-b629-4df6-b22c-ff57cf8c028d][kubectl]], the command-line tool for interacting with [[id:c2072565-787a-4cea-9894-60fad254f61d][Kubernetes]] clusters. | ||
- Typically located at =~/.kube/config= by default, but can be overridden by environment variables. | ||
|
||
- *Key Features*: | ||
- *Clusters*: Defines the Kubernetes clusters to connect to, including server URLs and authentication information. | ||
- *Contexts*: Allows users to define multiple contexts for different cluster configurations, including user and cluster associations. | ||
- *Users*: Specifies the authentication credentials for connecting to the clusters, such as tokens, certificates, or username/password combinations. | ||
|
||
- *Structure*: | ||
- Written in [[id:7cd81a80-dbc4-4c6e-860a-f05b14798e68][YAML]] format. | ||
- Contains sections for clusters, contexts, users, and the current context in use. | ||
|
||
- *Use Cases*: | ||
- Simplifies management of different Kubernetes environments (e.g., development, staging, production). | ||
- Enables users to switch between clusters and authentication methods effortlessly. | ||
|
||
*** Connections Between Entities | ||
|
||
- The kubeconfig file's structure (clusters, contexts, users) facilitates efficient management by organizing information needed to communicate with various Kubernetes clusters. | ||
- By leveraging contexts within kubeconfig, users can easily switch environments, which is critical for developers working across multiple stages of deployment. | ||
- Authentication information under the user section directly ties into accessing resources in Kubernetes, making security a key consideration when configuring this file. | ||
|
||
*** Questions for Further Clarity | ||
- Are you looking to configure a kubeconfig file for a specific environment or use case? | ||
- Do you need guidance on best practices for managing multiple configurations? | ||
- Is there a particular issue or challenge you are facing with your current kubeconfig setup? | ||
|
||
*** Pathways for Further Research | ||
- What are the best practices for securing your kubeconfig file? | ||
- How can you automate kubeconfig management using CI/CD tools? | ||
- What are the implications of using multiple kubeconfig files in a dynamic environment? | ||
* Extracting the Config | ||
|
||
- *Using =kubectl config view=*: | ||
- Command: =kubectl config view --minify --flatten= | ||
- =--minify=: Shows only the information related to the current context. | ||
- =--flatten=: Combines the output into a single structure, making it easier to read and copy. | ||
|
||
- *Exporting Environment Variables*: | ||
- To pass the credentials and other settings as environment variables, you can use: | ||
#+begin_src bash | ||
export KUBECONFIG=~/.kube/config | ||
#+end_src | ||
|
||
- *Extracting Information for a Specific Context*: | ||
- Command: =kubectl config get-contexts [CONTEXT_NAME]= | ||
- Replace =[CONTEXT_NAME]= with the desired context name. | ||
|
||
- *Copying Config to a New File*: | ||
- Redirect output from =kubectl config view= to a new file: | ||
#+begin_src bash | ||
kubectl config view --minify --flatten > path/to/new-kubeconfig.yaml | ||
#+end_src | ||
|
||
- *Manual Extraction*: | ||
- You may manually copy the relevant sections (clusters, users, and contexts) from the kubeconfig file, typically located at =~/.kube/config=. | ||
|
||
** Questions for Further Clarification | ||
- Do you need the configuration for a specific context or cluster? | ||
- Are you planning to share or deploy the extracted config in another environment? | ||
- Would you like to include or exclude any sensitive information from the extraction? | ||
|
||
** Pathways for Further Research | ||
- How can you manage and automate kubeconfig extraction in CI/CD pipelines? | ||
- What security measures are recommended when sharing kubeconfig files? | ||
- How can using tools like =kube-ps1= enhance the usability of your kubeconfig setup? | ||
* Resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
:PROPERTIES: | ||
:ID: 8fd3deca-b629-4df6-b22c-ff57cf8c028d | ||
:END: | ||
#+title: kubectl | ||
#+filetags: :k8s: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
:PROPERTIES: | ||
:ID: f6f7f087-b7fe-4192-8950-497166f5af0f | ||
:END: | ||
#+title: MCP (Model Context Protocol) | ||
#+filetags: :network:ai: | ||
|
||
* Model Context Protocol | ||
|
||
* Relevant Tooling | ||
** CLI testing utilities | ||
- https://github.com/mark3labs/mcphost | ||
- https://github.com/otwld/ollama-helm | ||
|
||
* Resources | ||
- https://modelcontextprotocol.io/introduction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
:PROPERTIES: | ||
:ID: b5c02b4f-4476-4af1-88ad-2ca1cd2aec8e | ||
:END: | ||
#+title: Karpor | ||
#+filetags: :open-source:project: | ||
|
||
* Work Logs | ||
** 0x2325 | ||
- init chronologically descending logs for karpor contribs | ||
- [[id:f6f7f087-b7fe-4192-8950-497166f5af0f][model context proctol]] integration into the stack is what I'm going for | ||
* Relevance | ||
- https://github.com/KusionStack/karpor/issues/658 | ||
* Resources | ||
- https://github.com/KusionStack/karpor |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.